Re: Alignment problems
| From: | kksou | Date: | Sun, 04 Feb 2007 16:46:51 +0000 |
| Subject: | Re: Alignment problems | ||
| References: | 1 | Groups: | php.gtk.general |
| Request: | Send a blank email to php-gtk-general+get-7654@lists.php.net to get a copy of this message | ||
Diego Feitosa wrote:
>
> What I'm trying to do is align the "Small label" at the left side...
> --
> Diego Feitosa
>
1. change Line 52: $alignment1 = new GtkAlignment(0.5, 0.5, 0.0, 0.0);
to: $alignment1 = new GtkAlignment(0, 0.5, 0.0, 0.0);
2. change Line 73: $table1->attach($alignment1, 0, 1, 1, 2, Gtk::EXPAND,
Gtk::SHRINK, 1, 1);
to: $table1->attach($alignment1, 0, 1, 1, 2);
There's a similar example of GtkAlignment in:
http://www.kksou.com/php-gtk2/articles/set-align-left-and-valign-top-in-GtkTable---using-GtkAlignment.php
Regards,
/kksou
--
View this message in context: http://www.nabble.com/Alignment-problems-tf3167893.html#a8794529
Sent from the Php - GTK - General mailing list archive at Nabble.com.