Re: Re: GtkFixed child control resizing



On 7/5/06, Atanas Atanasov <thenasko gmail com> wrote:
Thanks. The size request worked. However there is an issue. Say I
create my label to cover all the GtkFixed and set its text
justification to left. What I expect to see is something like:

The justification setting controls the way line wrapping works, it
does not control alignment of the text within the parent.

You need to set the alignment instead:

http://developer.gnome.org/doc/API/2.0/gtk/GtkMisc.html#gtk-misc-set-alignment

You can set the vertical alignment too.

John



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]