[Freeciv-Dev] Re: (PR#2591) Nondenominational calendar patch
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
On Thu, Jan 09, 2003 at 05:16:52AM +0000, Vasco Alexandre Da Silva Costa wrote:
> 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.
Attached is version 2 which has this hack with a variable width.
Any comment on the notebook?
Raimar
--
email: rf13@xxxxxxxxxxxxxxxxx
"Like the ad says, at 300 dpi you can tell she's wearing a
swimsuit. At 600 dpi you can tell it's wet. At 1200 dpi you
can tell it's painted on. I suppose at 2400 dpi you can tell
if the paint is giving her a rash."
-- Joshua R. Poulson
nation_class2.diff.gz
Description: nation_class2.diff.gz
Message not available
[Freeciv-Dev] Re: (PR#2591) Nondenominational calendar patch, Vasco Alexandre Da Silva Costa via RT, 2003/01/08
[Freeciv-Dev] Re: (PR#2591) Nondenominational calendar patch, Vasco Alexandre Da Silva Costa via RT, 2003/01/09
|
|