Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8675775
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 12, 20262026-06-12T20:01:44+00:00 2026-06-12T20:01:44+00:00

import com.smartgwt.client.widgets.layout.HLayout; import com.smartgwt.client.widgets.tree.TreeGrid; HLayout layout = new HLayout(); TreeGrid treeGrid = new TreeGrid();

  • 0
import com.smartgwt.client.widgets.layout.HLayout;
import com.smartgwt.client.widgets.tree.TreeGrid;

HLayout layout = new HLayout();
TreeGrid treeGrid = new TreeGrid();

layout.setMembersMargin(0);
layout.setBorder("0 none");
layout.setPaddingAsLayoutMargin(false);
layout.setLayoutMargin(0);
layout.setCanDragResize(false);
for (Canvas canvas : layout.getMembers()) {
  canvas.setMargin(0);
  canvas.setPadding(0);
  canvas.setBorder("0 none");
  canvas.setWidth("100%");
  canvas.setHeight("100%");
}
treeGrid.setMargin(0);
treeGrid.setBorder("0 none");

I have tried all these methods and border are still around the treeGrid which is in layout.
How to delete or tell SmartGWT to not generate these grey borders we can see between blue and green borders ?

Or there is a component without these borders ?

Illustrate borders problem

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-12T20:01:45+00:00Added an answer on June 12, 2026 at 8:01 pm

    It is not TreeGrid fault, proof : http://www.smartclient.com/smartgwt/showcase/#tree_databinding_ondemand

    Neither window fault, proof : http://www.smartclient.com/smartgwt/showcase/#layout_windows_footer

    I think, your border is being explicitly set somewhere.

    Plus, you should take a look at the Edge property. Check for calls of setEdgeSize(int) or try to set edge size explicitly to 0.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I a using GWT 2.3.In which I am using import com.google.gwt.user.client.ui.Tree. I want to
Please help me look into my simple test case: import com.google.gwt.core.client.EntryPoint; import com.google.gwt.user.client.ui.RootPanel; import
In my GWT app I have the following model class: import com.google.gwt.user.client.rpc.IsSerializable; public class
Here's my code: package com.eggproject_hu.WPECommerceAdminSales.client; import java.lang.Boolean; import com.google.gwt.core.client.GWT; import com.google.gwt.user.client.Window; public class AblakVillogo
Here is my code: import com.gargoylesoftware.htmlunit.WebClient; import com.gargoylesoftware.htmlunit.html.HtmlPage; final WebClient webClient = new WebClient();
sometimes we can from ClassA do : import com.software.ClassB; classbObject = new ClassB ;
I have this code import com.crystaldecisions.reports.sdk.ReportClientDocument; ... ReportClientDocument rpt = new ReportClientDocument(); rpt.open(reportPath+fileName, 0);
package com.crumbin.tabs; import java.util.ArrayList; import java.util.HashMap; import org.apache.http.client.HttpClient; import android.content.Context; import android.database.Cursor; import android.location.Location;
I am not being able to import com.google.gwt.view.client.ListViewAdapter;. I have GWT 2.1 and it
Basically I can't even import Groovy classes in a regular GWT EntryPoint: import com.google.gwt.core.client.EntryPoint;

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.