The International Simutrans Forum

PakSets and Customization => General Resources and Tools => Menu, Skins and Others => Topic started by: uci on July 10, 2019, 01:53:20 PM

Title: Theme - titlebar spacing
Post by: uci on July 10, 2019, 01:53:20 PM
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.
Title: Re: Theme - titlebar spacing
Post by: An_dz on July 11, 2019, 08:44:43 PM
I'm quite sure it gets from the image size.
Title: Re: Theme - titlebar spacing
Post by: Leartin on July 12, 2019, 05:54:54 AM
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?
Title: Re: Theme - titlebar spacing
Post by: An_dz on July 12, 2019, 03:21:29 PM
I don't remember doing so.
Title: Re: Theme - titlebar spacing
Post by: uci on July 13, 2019, 11:18:19 AM
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. ::(