[Freeciv-Dev] Re: (PR#2591) Nondenominational calendar patch
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
On Wed, 8 Jan 2003, Raimar Falke via RT wrote:
> up). Also I have a problem with the label showing the legend. For
> unknown reasons it won't use the whole width for the label. And I also
Hmm yes.
> verified that the label itself takes the whole width.
No it doesn't. See this:
gtk_misc_set_alignment(GTK_MISC(label), 1.0, 0.0);
and
gtk_misc_set_alignment(GTK_MISC(label), 0.0, 1.0);
> GTK people?
Well, you really should do this:
gtk_label_set_justify(GTK_LABEL(label), GTK_JUSTIFY_FILL);
gtk_label_set_line_wrap(GTK_LABEL(label), TRUE);
But it still won't fill the whole space.
Only way I could find of forcing it to fill the space I want it to is:
gtk_widget_set_usize(label, 500, -1);
For forcing it to use 500 pixels horizontally.
Yes, it is ugly.
---
Vasco Alexandre da Silva Costa @ Instituto Superior Tecnico, Lisboa
Message not available
- [Freeciv-Dev] Re: (PR#2591) Nondenominational calendar patch, Raimar Falke via RT, 2003/01/08
- [Freeciv-Dev] Re: (PR#2591) Nondenominational calendar patch, Mike Kaufman via RT, 2003/01/08
- [Freeciv-Dev] Re: (PR#2591) Nondenominational calendar patch, Vasco Alexandre Da Silva Costa, 2003/01/08
- Message not available
- [Freeciv-Dev] Re: (PR#2591) Nondenominational calendar patch, Raimar Falke via RT, 2003/01/09
- [Freeciv-Dev] Re: (PR#2591) Nondenominational calendar patch, Vasco Alexandre Da Silva Costa, 2003/01/09
[Freeciv-Dev] Re: (PR#2591) Nondenominational calendar patch,
Vasco Alexandre Da Silva Costa via RT <=
[Freeciv-Dev] Re: (PR#2591) Nondenominational calendar patch, Vasco Alexandre Da Silva Costa via RT, 2003/01/09
|
|