The International Simutrans Forum

Development => Patches & Projects => Incorporated Patches and Solved Bug Reports => Topic started by: Yona-TYT on November 16, 2014, 07:48:15 AM

Title: The scroll bar does not appear.
Post by: Yona-TYT on November 16, 2014, 07:48:15 AM



The scroll bar of filters do not appear in some cases.
(https://www.mediafire.com/convkey/a321/5ed8vbdb15kc34j6g.jpg)


highcontrast-theme.zip (http://www.mediafire.com/download/7vmkwzrl5byv8gr/highcontrast-theme.zip)


(https://www.mediafire.com/convkey/0369/jj0oau5srfu5ibk6g.jpg)
Title: Re: The scroll bar does not appear.
Post by: prissi on November 16, 2014, 09:12:10 PM
THis has probably to do if the empty images has been properly defined as empty.
Title: Re: The scroll bar does not appear.
Post by: Yona-TYT on November 21, 2014, 10:28:23 PM
There are solution for this?
Title: Re: The scroll bar does not appear.
Post by: prissi on November 28, 2014, 12:08:33 AM
Be default there are no arrows shown when everything fits into the list.
Title: Re: The scroll bar does not appear.
Post by: Yona-TYT on November 29, 2014, 12:09:08 AM
No, not fit ... I have to move with the keyboard.
Title: Re: The scroll bar does not appear.
Post by: Yona-TYT on December 01, 2014, 10:04:49 AM
(https://www.mediafire.com/convkey/815c/9kw8o5u1fbhk21s6g.jpg)
Title: Re: The scroll bar does not appear.
Post by: Ters on December 01, 2014, 05:30:40 PM
Looks like the scrollbar disappears when there isn't enough room to draw it.
Title: Re: The scroll bar does not appear.
Post by: Yona-TYT on December 03, 2014, 09:19:35 AM
Apparently this is only present in the theme "highcontrast"  ??? .
(https://www.mediafire.com/convkey/0a4e/zj1j3ymddbi73536g.jpg)




Title: Re: The scroll bar does not appear.
Post by: DrSuperGood on December 03, 2014, 02:15:51 PM
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.
Title: Re: The scroll bar does not appear.
Post by: Yona-TYT on December 04, 2014, 10:25:57 AM
Another example, this time using the blank theme.
theme.blank.zip (http://www.mediafire.com/download/5jb05o1bacvvbsg/theme.blank.zip)
(https://www.mediafire.com/convkey/86b5/mwcgeucs4le6iz46g.jpg)
Title: Re: The scroll bar does not appear.
Post by: Yona-TYT on January 09, 2015, 12:32:26 PM
Is there any solution for this?
Title: Re: The scroll bar does not appear.
Post by: prissi on October 18, 2015, 09:45:54 PM
SHould be fixed in -r7601