java - Adding spacing to the right and bottom of a widget in SWT -
when using gridlayout
in swt, 1 can use verticalindent
, horizontalindent
add spacing top , right of widget. there way add spacing right , bottom side of widget? haven't found methods this. have missed something?
griddata
doesn't support setting spacing right. can set horizontalindent
widget right widget, should have same effect. gridlayout
has marginright
.
i had @ code (which referenced in question), , shivered remembering experiences gridlayout. recommendation not use gridlayout. have @ miglayout. start web start demo on page, read cheat sheet.
if compare code complex layout done gridlayout code when using miglayout, you'll never want use gridlayout again.
Comments
Post a Comment