News:

Simutrans Wiki Manual
The official on-line manual for Simutrans. Read and contribute.

Clickable area on depot window

Started by z9999+, January 24, 2010, 12:36:50 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

z9999+

On depot window, clickable area of 'Show all' is 2 pixcel larger than line height.
If I click the red arrow position, both 'Show all' button and 'Show obsolete too' button will be changed at the same time.

knightly

#1
I think the square button itself should set its width based on the accompanying text, and any client code using this type of buttons should not set its size again. If you click on the word "too" of "Show obsolete too", nothing happens. The same with those square buttons in the Settings dialog -- if you click on the text, nothing happens.

Edit :

The attached patch fixes the square button problem in general.

knightly

If there is no objection, I will commit it.