Complete.Org: Mailing Lists: Archives: freeciv-dev: January 2003:
[Freeciv-Dev] (PR#2841) categorization of nations
Home

[Freeciv-Dev] (PR#2841) categorization of nations

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: undisclosed-recipients:;
Subject: [Freeciv-Dev] (PR#2841) categorization of nations
From: "Jason Short via RT" <rt@xxxxxxxxxxxxxx>
Date: Thu, 16 Jan 2003 13:55:40 -0800
Reply-to: rt@xxxxxxxxxxxxxx

Somehow this ended up getting stuck under a different, resolved ticket.

-------- Original Message --------
Subject: [Freeciv-Dev] Re: (PR#2591) Nondenominational calendar patch
Date: Thu, 9 Jan 2003 02:08:24 -0800
From: Raimar Falke via RT <rt@xxxxxxxxxxxxxx>
Reply-To: rt@xxxxxxxxxxxxxx
To: cameron@xxxxxxxxxx, esr@xxxxxxxxxxx, sambc@xxxxxxxxxxxxxxxxxxx
CC: freeciv-dev@xxxxxxxxxxx
References: <rt-2591-19896.3.87741999733031@xxxxxxxxxxx> 
<Pine.GSO.4.44.0301090506520.28968-100000@mega>

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



Attachment: nation_class2.diff.gz
Description: nation_class2.diff.gz


[Prev in Thread] Current Thread [Next in Thread]