Flavio Alberto Lopes Soares <flavio@xxxxxxxxxxxxxx> wrote on 09/10/2003 (14:28) : > Hello all > > I'm developing an application made with glade-2 and all labels that I > attempt write 2 paragraphs (2 words, one in each line) with central > alignment, the 2nd paragraph doesn't centralize, there's some way to > do this ? It works for me in GtkAda. See attached glade files -- Preben Randhol -------------- http://www.pvv.org/~randhol/Ada95 -- «For me, Ada95 puts back the joy in programming.»
<?xml version="1.0" standalone="no"?> <!--*- mode: xml -*--> <!DOCTYPE glade-interface SYSTEM "http://glade.gnome.org/glade-2.0.dtd"> <glade-interface> <widget class="GtkWindow" id="window1"> <property name="visible">True</property> <property name="title" translatable="yes">window1</property> <property name="type">GTK_WINDOW_TOPLEVEL</property> <property name="window_position">GTK_WIN_POS_NONE</property> <property name="modal">False</property> <property name="resizable">True</property> <property name="destroy_with_parent">False</property> <child> <widget class="GtkLabel" id="label1"> <property name="visible">True</property> <property name="label" translatable="yes">label1 lable2 </property> <property name="use_underline">False</property> <property name="use_markup">False</property> <property name="justify">GTK_JUSTIFY_CENTER</property> <property name="wrap">False</property> <property name="selectable">False</property> <property name="xalign">0.5</property> <property name="yalign">0.5</property> <property name="xpad">0</property> <property name="ypad">0</property> </widget> </child> </widget> </glade-interface>
<?xml version="1.0" standalone="no"?> <!--*- mode: xml -*--> <!DOCTYPE glade-project SYSTEM "http://glade.gnome.org/glade-project-2.0.dtd"> <glade-project> <name>Project1</name> <program_name>project1</program_name> <gnome_support>FALSE</gnome_support> </glade-project>