[Cuis] 2243: #keepMorphExtent
Ken.Dickey
Ken.Dickey at whidbey.com
Fri Apr 24 14:28:50 CDT 2015
lm := LayoutMorph initializedInstance .
lm addMorph: ((PluggableButtonMorph model: self action: #click)
icon: (Theme current perform: #closeIcon);
setBalloonText:'close me';
iconName: #close;
yourself)
layoutSpec: LayoutSpec keepMorphExtent.
lm openInWorld.
===============
Drag size-adjust-handle to make icon smaller. Not only does it shrink. !t never regrows!
---
-KenD
More information about the Cuis
mailing list