Hi, I'm looking for a theme parameter that changes spacing of titlebar buttons. For example, first image shows the Simutrans standard theme and the second one shows the "blue-white" theme. The second theme has nicely spaced buttons. Where did they come from? Thanks.
I'm quite sure it gets from the image size.
The images look the same though. Did you add 99% transparent pixels that are practically invisible to trick the UI into thinking the graphic is larger?
I don't remember doing so.
And to add more confusion...
I compiled "blue-white" theme from sources here
https://github.com/aburch/simutrans/tree/master/themes.src/white%20blue
and didn't get the nicely spaced buttons as expected. ::(
I don't know when the setting was introduced, but in Simutrans 123 you can use this in the theme's *.tab file to set a spacing for the icons:
# width of the window elements
gui_gadget_width = 20
Quote from: _Hajo_ on January 15, 2022, 02:07:54 PM
I don't know when the setting was introduced, but in Simutrans 123 you can use this in the theme's *.tab file to set a spacing for the icons:
# width of the window elements
gui_gadget_width = 20
If this parameter was added by @prissi about a year ago I think, I was testing the modern theme on touch screens at the time.