[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Bug-XBoard] [bug #35181] Shortened menunames in tinymode not transl

From: Byrial Jensen
Subject: Re: [Bug-XBoard] [bug #35181] Shortened menunames in tinymode not translated
Date: Wed, 28 Dec 2011 17:30:41 +0100
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv: Gecko/20111109 Thunderbird/3.1.16

Den 28-12-2011 15:32, address@hidden skrev:
Couldn't menubar be made such that the text box for each menu title have
a limited size, rather than shortening the titles themselves.

OK, I pushed a change that does this to hgm.nubati.net. It looks as
reasonable as you could expect. In any case _much_ preferable over the
menu bar stretching out the window.

I tested it and it is an improvement in most cases.

I have 2 concerns:

1) It may be necessary to have a minimum width, so small texts will not show less an a letter. Modus in German in size -tiny is close to show less than an M. It could be worse in other languages.

2) When you have enough space the menu buttons will be enlarged to fill the whole width of the window. That breaks the -titleInWindow option.

A possible solution might be to create the buttons first without width speficication, then messaure if they are too wide and make the widest buttons narrower.

- Byrial

reply via email to

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