comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » GUI resize
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
GUI resize [message #42176] Fri, 07 January 2005 16:16
newsgroupie2003 is currently offline  newsgroupie2003
Messages: 12
Registered: December 2004
Junior Member
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
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: 64-bit netCDF
Next Topic: Re: GUI resize

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Wed Oct 08 15:16:14 PDT 2025

Total time taken to generate the page: 0.00452 seconds