Not runs...
Gtk::Label l_card ("Card : ");
Gtk::Label l_ctry ("Country Code :");
l_idecart.set_alignment (0.0, 0.0);
l_country.set_alignment (0.0, 0.0);
Gtk::Table m_table (2, 2, false);
m_table.attach (l_card, 0, 1, 0, 1, Gtk::SHRINK, Gtk::SHRINK, 5, 5);
m_table.attach (l_ctry, 0, 1, 1, 2, Gtk::SHRINK, Gtk::SHRINK, 5, 5);
l_card & l_ctry texts appear centered...
Glus
2011/3/7 Yann Leydier <[email protected]>:
> Hi,
>
> perhaps set_alignment() (inherited by Label from Misc) will do the trickā¦
>
> yann
>
> On 07/03/11 13:32, Glus Xof wrote:
>>
>> Hi,
>>
>> (simple question... I think...)
>>
>> Is there any way to control the alignment of Gtk::Label(s) text when
>> they are attached in a Gtk::Table ?
>>
>> By default, they are aligned centered, and Gtk::Alignment seems not
>> work...
>>
>> Glus
>> _______________________________________________
>> gtkmm-list mailing list
>> [email protected]
>> http://mail.gnome.org/mailman/listinfo/gtkmm-list
>
> _______________________________________________
> gtkmm-list mailing list
> [email protected]
> http://mail.gnome.org/mailman/listinfo/gtkmm-list
>
_______________________________________________
gtkmm-list mailing list
[email protected]
http://mail.gnome.org/mailman/listinfo/gtkmm-list