News:

The Forum Rules and Guidelines
Our forum has Rules and Guidelines. Please, be kind and read them ;).

Request: lower the minimum size of some in-game windows

Started by Nazalassa, January 05, 2024, 11:38:29 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Nazalassa

I feel that some (most?) in-game windows (new world dialog, convoy window, etc.) are by default too large (a lot or not), and in some I think some widgets (especially the entries with arrows on the sides) could benefit from proper alignment/width.

Also, convoy info windows used to have a smaller minimum size, but now they can't be resized smaller than their default size (save for a few pixels). However in some cases it may be useful to have smaller convoy windows.

Example of what I mean with the new world window: the entries-with-arrows-on-the-sides are of different widths and there is a lot of unused space, especially on the right: the window is probably too wide, and it would probably look nicer if it were somewhat narrower and the entries were of the same width.

preview.png

Tl;DR: Would it be possible to lower the minimum size of convoy / line info windows, and to set a fixed width to the entries in the new world dialog (for consistency) and make wide dialogs a little bit narrower? I think that would make the interface prettier, without losing anything (except empty space in dialogs).
Making paksets since October 2023  |  pak48.bitlit | MLM for pak64 | Empire F7 cars

Life is like a multi-tasking OS: you know you'll eventually get back to everything, but you don't know when.

Andarix

Quote from: Nazalassa on January 05, 2024, 11:38:29 AM...
Also, convoy info windows used to have a smaller minimum size, but now they can't be resized smaller than their default size (save for a few pixels). However in some cases it may be useful to have smaller convoy windows.
...

The minimum width is dictated by the width of the chart.

The width also results from the labels. Not every language has short words. And short words are not always enough for the meaning to be clear to the player.

Nazalassa

Quote from: Andarix on January 05, 2024, 02:42:55 PMThe minimum width is dictated by the width of the chart.

The width also results from the labels. Not every language has short words. And short words are not always enough for the meaning to be clear to the player.

OK for the width, but the height?
Making paksets since October 2023  |  pak48.bitlit | MLM for pak64 | Empire F7 cars

Life is like a multi-tasking OS: you know you'll eventually get back to everything, but you don't know when.

_Hajo_

Quote from: Nazalassa on January 05, 2024, 11:38:29 AMI feel that some (most?) in-game windows (new world dialog, convoy window, etc.) are by default too large (a lot or not), and in some I think some widgets (especially the entries with arrows on the sides) could benefit from proper alignment/width.

That's part of my work with Simutrans GL. I've just started so I have little to show, but I have tried to improve some dialogs. The new world dialog has gotten better alignment of the input boxes and it is a little shorter than the original. In the depot view I've tried to use an overlay technique to improve use of the space and get rid of that void space at the bottom.

I'm busy with the Open GL related work currently, but Open GL is only a means to get more display options. The actual plan is to make Simutrans more pretty and easier to use. It's huge and I can't promise success, but it's my plan.

Edit: If you want to take a look, there are test versions here:
https://github.com/Varkalandar/simutrans_ts/releases/tag/Simutrans_GL_Nightly
Test with the "Silver" theme for best results. And let me know what you think about it ;)

prissi

The new world window is too wide, probably more for historic reasons. Other than that, I tried hard to have all windows fit the 800 x 600 screen size.

The line window and convoi info size is given by the size of the convois. Moreover, most windows try to have the same width and height to be tileable. The depot is a monster, that is true, but again that is due to the size of vehicles in the pakset. The 192 depot cannot be much smaller.

Andarix

Quote from: prissi on January 07, 2024, 01:43:10 PM... The depot is a monster, that is true, but again that is due to the size of vehicles in the pakset. The 192 depot cannot be much smaller.

Scaling the vehicle graphics to 128 or 96 size could help here. For 64 and smaller sets, enlarging to 96 or 128 size would also be an advantage.

This scaling would also be beneficial for other windows with vehicle displays.

And then the width depends on the button widths, which depends on the theme.