Re: GtkFixed child control resizing
- From: Tristan Van Berkom <tvb gnome org>
- To: Atanas Atanasov <thenasko gmail com>
- Cc: gtk-app-devel-list gnome org
- Subject: Re: GtkFixed child control resizing
- Date: Wed, 05 Jul 2006 09:28:19 -0400
Atanas Atanasov wrote:
I have a GtkWindow with a single GtkFixedChild. Then all the rest of
the interface goes into the GtkFixed with exact positions which I can
set through gtk_fixed_put or gtk_fixed_move. Suppose I have a GtkLabel
child. I would like to be able to set its size and apply a text
alignment through gtk_label_set_justify - for example centered.
However I do not see how this can be done since GTK is a layout widget
toolkit and one rarely works with specific coordinates in this case.
Also I would like to set the vertical alignment of the text.
Once you set the width/height-request on fixed children; the
justification and alignment work fine afaik... they effect where the
label will be placed inside its allocation.
Cheers,
-Tristan
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]