Re: GUI resize [message #42175] |
Fri, 07 January 2005 19:44 |
n
Messages: 5 Registered: January 2005
|
Junior Member |
|
|
Sorry for the inconvenience - dynamic_resize=1 ......
Cheers
Soren
"Soren" <newsgroupie2003@yahoo.dk> wrote in message
news:d1447cec.0501071616.17284755@posting.google.com...
> Hi,
> I have trouble with repositioning buttons in a GUI.
> My GUI consists of 2 slide bars, 2 buttons and a draw widget.
> I use a callback via /tlb_size_events to handle user resizing and it
> works fine for all the menchioned widgets except the 2 buttons.
> I try to set their xoffset and y offset like the rest of the widgets,
> but they fail to respond. They do respond to changing the value
> property.
> Here is a bit of the code:
> widget_control, (*handles).BUTTON1, xoffset=BUTTON1_x,
> yoffset=buttons_y
> widget_control, (*handles).BUTTON2, xoffset=BUTTON1_x,
> yoffset=buttons_y
> widget_control, (*handles).drawzone, offset=drawzone_x,
> yoffset=drawzone_y, xsize=drawzone_width, ysize=drawzone_height
>
> widget_control, (*handles).slider_horz, xoffset=horzslider_x,
> yoffset=horzslider_y, xsize=horzslider_width
>
> widget_control, (*handles).slider_vert, xoffset=vertslider_x,
> yoffset=vertslider_y, ysize=vertslider_height
>
> Only the calls to the sliders and the draw widget change positions of
> the respective widgets.
>
>
> What am i missing?
>
> Best regards
> Soren
|
|
|