Re: Manual entry for GtkAlignment

From: Date: Thu, 03 Nov 2005 15:33:31 +0000
Subject: Re: Manual entry for GtkAlignment
References: 1 2  Groups: php.gtk.doc 
Request: Send a blank email to php-gtk-doc+get-1609@lists.php.net to get a copy of this message
Christian Weiske escreveu: > Jp, > > > >>Here's a manual entry for GtkAlignment >>Constructive criticism is much appreciated! > > You should say something about GtkLabels, and how to align them. That is > a very common problem for newbies; they try to align the text of a label > with set_justify() and don't get it. Seeing as I'm a newbie myself, I'm not sure I get what you mean. I ought to make it clearer that labels should be aligned (and how to do it) using gtkalignment? (gtklabel::set_justify obviously doesn't do this) > > Nobody told them to use a gtklabel.. > Uh? Is there a better/prefered way of adding small text entries, or is this just a rant? :) > > The last button doesn't take 75% but around 90-95% of the width. > For what I understood from GtkAlignment, the button takes up 75% of the *free space* of the container, the free space beeing what is left after the minimum width of the button is deducted to the total space of the container - thus the button may end up beeing 90%, or even 100% of the full width in case there is no free space. Anyway, I must admit the example could be better. I'll give it some thought. > And the buttons shouldn't be that wide; think of users with small > resolution (just wrap the text). Aye. -Jp

« previous php.gtk.doc (#1609) next »