[REBOL] Re: Resizing of button's length
From: henrikmk::gmail at: 28-Aug-2010 17:50
On Sat, Aug 28, 2010 at 5:36 PM, Emeka <emekamicro-gmail.com> wrote:
> Hello All,
>
> I would like to know how I could resize the length of button (GUI).
>
> Regards,
> Emeka
view layout [
button 100 "Standard"
button 150 "Large"
button 75 "Small"
button 90x90 "Custom"
]
If you are referring to doing it when resizing the window, that is not
easy in VID as it requires creating an event function that acts when
the window resizes. You can do it with RebGUI or the VID Extension Kit
without much trouble.
RebGUI:
display "" [button #W "Button"]
VID Extension Kit:
view make-window [button spring [bottom] "Button"]
--
Regards,
Henrik Mikael Kristensen