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

Home » Public Forums » archive » ALIGN_LEFT doesn't work.
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
ALIGN_LEFT doesn't work. [message #12309] Tue, 14 July 1998 00:00
Imanol Echave is currently offline  Imanol Echave
Messages: 26
Registered: May 1998
Junior Member
Hi people:

I've a widget base with the keyword BASE_ALIGN_CENTER set (the base is a
column), and I want to put a widget base on the left of the parent base so I
create it with ALIGN_LEFT but it doesn't work. There's an example code.
PRO TEST

main_base=WIDGET_BASE(TITLE='Test',/BASE_ALIGN_CENTER,COLUMN =1)
first_row=WIDGET_BASE(main_base,ROW=1)
left_label=WIDGET_LABEL(first_row,VALUE='Left')
center_label=WIDGET_LABEL(first_row,VALUE='Center')
right_label=WIDGET_LABEL(first_row,VALUE='Right')

first_label=WIDGET_LABEL(main_base,VALUE='Label',/ALIGN_LEFT )
second_label=WIDGET_LABEL(main_base,VALUE='Label',/ALIGN_CEN TER)
thirst_label=WIDGET_LABEL(main_base,VALUE='Label',/ALIGN_RIG HT)

WIDGET_CONTROL,main_base,/REALIZE

END
  • Attachment: test.pro
    (Size: 0.50KB, Downloaded 67 times)
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Re: IDLDE on MacOS edit speed?
Next Topic: Re: Z value on IDLgrPlot?

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

Current Time: Wed Oct 08 17:36:57 PDT 2025

Total time taken to generate the page: 0.00459 seconds