This week's book giveaway is in the Other Languages forum.
We're giving away four copies of Functional Reactive Programming and have Stephen Blackheath and Anthony Jones on-line!
See this thread for details.
Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

is there any padding attribute for DockLayoutPanel?

 
peter tong
Ranch Hand
Posts: 246
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 11178
15
Android Eclipse IDE Google Web Toolkit Java Mac Ubuntu
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You can try playing around with the widget css padding and/or margin
 
peter tong
Ranch Hand
Posts: 246
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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!!
problem2.JPG
[Thumbnail for problem2.JPG]
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic