02-14-2013 06:57 AM
Hi,
how do we resize a component, lets say, a button.
I have tried using:
1. Button.setActualSize(Number,Number);
2. Button.width=? Button.height=?
None seems to be working when the button is hosted in a RowLayout.
Any thoughts?
Solved! Go to Solution.
02-14-2013 07:15 AM
Try calling invalidateProperties() on the UIComponent right after you set its dimensions.
02-14-2013 08:46 PM
Hi, thanks for the reply,
It doesnt work though.
02-14-2013 08:58 PM
See my reply to your other recent thread on resizing an image.