The International Simutrans Forum

 

Author Topic: [r8663] GUI layout issues  (Read 1365 times)

0 Members and 1 Guest are viewing this topic.

Offline captain crunch

  • *
  • Posts: 116
[r8663] GUI layout issues
« on: February 03, 2019, 12:26:23 PM »
Simutrans 120.4.1 Nightly released Feb  2 2019.
Generally there seems too much empty space around base window widgets and the vertical spacing in some
dialogues is quite big.
See attached images.

Offline Ters

  • Coder/patcher
  • Devotee
  • *
  • Posts: 5543
  • Languages: EN, NO
Re: [r8663] GUI layout issues
« Reply #1 on: February 03, 2019, 12:47:30 PM »
The factory list and the city list has some odd bevel lines around the actual lists. (Well, not all the way around. The top is missing.) This is not the case for alle the other lists.

I do not mind the extra margins in the factory and schedule windows. It probably has something to do with the fact that the tabs and the list, respectively, do not appear as the main part of the window due to the amount of other widgets above them.

The lists in the line management window is something of a mess. They have margins to the left and right of the window, but not to the bottom. And there is no spacing between them. There should be as much space between the lists as between the corresponding buttons above them. It also looks a bit weird that one list is taller than the other, but maybe that will look better with some spacing.

Offline Dwachs

  • DevTeam, Coder/patcher
  • Administrator
  • *
  • Posts: 4603
  • Languages: EN, DE, AT
Re: [r8663] GUI layout issues
« Reply #2 on: February 03, 2019, 01:29:01 PM »
Thanks for testing and the report. The text run-in in the pak-selection is fixed in r8665. The city list is made wider in r8666. (The problem here is that there is space reserved for the word statistics chart, which demands a larger window)

The empty space is due to theme-specific window margins and spacer settings. You could try to play with them by setting them in a theme file (gui_frame_left /right/top/bottom, gui_vspace, gui_hspace), see the files in theme/*.tab.

The line-management window still needs to be rewritten.

Offline prissi

  • Developer
  • Administrator
  • *
  • Posts: 9568
  • Languages: De,EN,JP
Re: [r8663] GUI layout issues
« Reply #3 on: February 05, 2019, 06:15:47 AM »
The line management probably has also to get a tab based approach, with top line selection and bottom then statistics, stops, convois ...

Offline Ters

  • Coder/patcher
  • Devotee
  • *
  • Posts: 5543
  • Languages: EN, NO
Re: [r8663] GUI layout issues
« Reply #4 on: February 05, 2019, 06:27:57 AM »
I prefer having at least stops and convois visible at the same time.

Offline prissi

  • Developer
  • Administrator
  • *
  • Posts: 9568
  • Languages: De,EN,JP
Re: [r8663] GUI layout issues
« Reply #5 on: February 05, 2019, 03:06:08 PM »
One could allow more instances of the line management window, if the default tab is not open ...

Offline Ters

  • Coder/patcher
  • Devotee
  • *
  • Posts: 5543
  • Languages: EN, NO
Re: [r8663] GUI layout issues
« Reply #6 on: February 05, 2019, 04:30:54 PM »
They would have to be synchronized somehow then, so that when I select a line in either, I know that I see the corresponding stops and vehicles.

Offline prissi

  • Developer
  • Administrator
  • *
  • Posts: 9568
  • Languages: De,EN,JP
Re: [r8663] GUI layout issues
« Reply #7 on: February 06, 2019, 02:04:13 AM »
But that would not allow to compare lines side by side. If there are multiple instances allowed, I would also allow for different content.

Offline Ters

  • Coder/patcher
  • Devotee
  • *
  • Posts: 5543
  • Languages: EN, NO
Re: [r8663] GUI layout issues
« Reply #8 on: February 06, 2019, 06:38:39 AM »
Multiple instances is fine. It is hiding information I need together behind different tabs that I am against in this case. When I upgrade the vehicles on a line, I usually need a list of the line's stops, a list of the line's vehicles, a depot window, and probably four to eight vehicle windows to do it smoothly without cause traffic problems or overcrowding. While still being able to see a little bit of the map.

Offline captain crunch

  • *
  • Posts: 116
Re: [r8663] GUI layout issues
« Reply #9 on: February 19, 2019, 01:31:13 PM »
Preview of tall buildings in the  city building/factory/attraction build dialogue are cut off at the top and there seem too many horizontal scrollbars where the window should have been made more wide in the beginning as can be seen in the attached screen shot.

Offline prissi

  • Developer
  • Administrator
  • *
  • Posts: 9568
  • Languages: De,EN,JP
Re: [r8663] GUI layout issues
« Reply #10 on: February 24, 2019, 01:02:38 PM »
Indeed, this is a flowtext, which breaks the text according to its width. I suspect a pixel off by one error here.

Offline Leartin at

  • Devotee
  • *
  • Posts: 1269
  • PAK-DEV P192C
  • Languages: DE, EN
Re: [r8713] GUI layout issues
« Reply #11 on: March 08, 2019, 05:10:58 PM »
Since it's similar, this is what I saw starting Pak96Comic - it's the list of duplicates, which most players probably wouldn't see anymore ;)

EDIT1: Also, you can resize that window, causing artifacts because there is no cleanup (I assume), and none of the three suggested keys get's me past it.

EDIT2: Appearently, all three buttons at once works? oô

Offline prissi

  • Developer
  • Administrator
  • *
  • Posts: 9568
  • Languages: De,EN,JP
Re: [r8663] GUI layout issues
« Reply #12 on: May 09, 2019, 01:12:56 PM »
A recent nightly should have solved all these issues.