News:

Simutrans Wiki Manual
The official on-line manual for Simutrans. Read and contribute.

The scroll bar does not appear.

Started by Yona-TYT, November 16, 2014, 07:48:15 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Yona-TYT




The scroll bar of filters do not appear in some cases.



highcontrast-theme.zip



prissi

THis has probably to do if the empty images has been properly defined as empty.


prissi

Be default there are no arrows shown when everything fits into the list.

Yona-TYT

No, not fit ... I have to move with the keyboard.


Ters

Looks like the scrollbar disappears when there isn't enough room to draw it.

Yona-TYT

Apparently this is only present in the theme "highcontrast"  ??? .






DrSuperGood

The theme appears to be using art elements larger than supported by the UI system. Either the UI system should be adjusted to scale dependent on the art assets available or it should force re-scale UI elements of unsupported size to fit the UI.

The first approach would give theme authors the power to manipulate UI layout to some extent. However the second approach could be integrated with DPI scaling for a more monitor independent UI and prevent theme authors from accidently messing up the UI.

Yona-TYT

Another example, this time using the blank theme.
theme.blank.zip

Yona-TYT


prissi