Complete.Org: Mailing Lists: Archives: freeciv-dev: June 2002:
[Freeciv-Dev] Re: non-readable messages (PR#1529)
Home

[Freeciv-Dev] Re: non-readable messages (PR#1529)

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: Christian Knoke <chrisk@xxxxxxxx>
Cc: freeciv-dev@xxxxxxxxxxx
Subject: [Freeciv-Dev] Re: non-readable messages (PR#1529)
From: Vasco Alexandre Da Silva Costa <vasc@xxxxxxxxxxxxxx>
Date: Tue, 11 Jun 2002 22:33:30 +0100 (WET DST)

On Tue, 11 Jun 2002, Christian Knoke wrote:

> On Mon, Jun 03, 2002 at 10:07:38AM -0700, Christian Knoke wrote:
> > CVS 03 JUNE 2002 GTK 1.2
> >
> > Some Messages don't fit into the message window (F10).
> > This can't be solved by l18n, because it is not possible
> > to break those lines. If you enlarge the window manually,
> > you have to do this again and again, because the windows's
> > size isn't saved.
> >
>
> The patch which was applied to fix this has only made things
> worse. If nothing helps, I'll cut down the german text lines
> a lot to avoid this. But *please* undo this patch.
>
> It would help IMO if the messages which are too long are divided
> into 2 lines, but I don't know whether it is intention of the

That is highly cumbersome to implement. GTK+ doesn't autowrap GtkCList
rows, and manually implementing word wrapping is, as you probably are
aware, non-trivial (e.g. you must know the exact font size, and the
window size of a window before opening it, and making your own widget is
not a good option).

> developers to have it in 1 line.

1 line with scrollbars is the best option. I can increase (again) the size
of the dialog to the previous size, and keep the scrollbars. I didn't
notice i deleted that line of code because i had previously saved the
message options window size with kwm (Store Settings) and forgot about it.

Would that be satisfactory?

---
Vasco Alexandre da Silva Costa @ Instituto Superior Tecnico, Lisboa





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