News:

Simutrans.com Portal
Our Simutrans site. You can find everything about Simutrans from here.

Horizontal scroll bars in tabs may become incompetent

Started by Ranran, September 02, 2021, 01:36:50 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Ranran

When a component in a tab has both vertical and horizontal scrollbars enabled, there are many cases where vertical scrolling is possible but horizontal scrolling is impossible, and I am having a hard time solving this problem.
For example, times history tab in line management dialog.
It seems to be displaying the correct bar length for the size, both vertically and horizontally. However, only the horizontal scroll bar is incompetent. Why...? (´・ω・`)
I would appreciate any advice on how to resolve this.

jamespetts

I am afraid that I do not know enough about the UI code to assist with this - I wonder whether the Standard developers might be able to assist?
Download Simutrans-Extended.

Want to help with development? See here for things to do for coding, and here for information on how to make graphics/objects.

Follow Simutrans-Extended on Facebook.

prissi

I think I had fixed this some time ago. But I need an example to check. The standard convoi list for instance seems to work fine.

Ranran

Thank you for your reply.
This was due to the fact that the tab size and the scroll panel size did not match as a result of individually specifying the sizes in the old GUI, and the horizontal scroll bar was outside the tab area.
This bug will be fixed in the patch currently being created.
I apologize for the mistakes caused by my immaturity.

jamespetts

Can I check whether this fix has now been incorporated?
Download Simutrans-Extended.

Want to help with development? See here for things to do for coding, and here for information on how to make graphics/objects.

Follow Simutrans-Extended on Facebook.

Ranran

Quote from: jamespetts on January 29, 2022, 05:35:15 PMCan I check whether this fix has now been incorporated?
I remember that this issue was caused in a change to the schedule list, i.e., a change to the design of times history to contain it in a tab..
Quote from: Ranran on September 02, 2021, 01:36:50 PMFor example, times history tab in line management dialog.

I believe this has been fixed with the patch to change the design of times history.