image - SWT Button setImage(null) -
i want button
not resize when setting image null.
button wrapped in custom colorselector
jface. see here.
i've made own custom color selector, can set null image button.
e.g. background color null here:
my solutions:
griddata
swt.fill
internally. widthhint
or minimumwidth
.
don't these. seem hardcore workarounds.
instead of setting null-image, may try set transparent image.
Comments
Post a Comment