aspose file tools*
The moose likes GWT and the fly likes is there any padding attribute for DockLayoutPanel? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Soft Skills this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Frameworks » GWT
Bookmark "is there any padding attribute for DockLayoutPanel?" Watch "is there any padding attribute for DockLayoutPanel?" New topic
Author

is there any padding attribute for DockLayoutPanel?

peter tong
Ranch Hand

Joined: Mar 15, 2008
Posts: 240
I have a SplitLayoutPanel, in the right hand side, I add a DockLayoutPanel and add some widget in the DockLayoutPanel.WEST position,
but I found the widget is too close to the border of the SplitLayoutPanel, is there any cell padding property of DockLayoutPanel?

I think a maybe foolish method, need add a VerticalPanel and setSize and add to the DockLayoutPanel.WEST first to fill up some space,
but is there any better or easier method?
Maneesh Godbole
Saloon Keeper

Joined: Jul 26, 2007
Posts: 10535
    
    9

You can try playing around with the widget css padding and/or margin


[How to ask questions] [Donate a pint, save a life!] [Onff-turn it on!]
peter tong
Ranch Hand

Joined: Mar 15, 2008
Posts: 240
Maneesh Godbole wrote:You can try playing around with the widget css padding and/or margin


try before but no any effect.
the css is


the relevant code is


the result is like attach picture, no border and no padding!!


[Thumbnail for problem2.JPG]

 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: is there any padding attribute for DockLayoutPanel?