WACUP

General => Skins => Topic started by: ariszlo on February 26, 2021, 11:13:39 PM

Title: Scrollbar backgrounds do not match
Post by: ariszlo on February 26, 2021, 11:13:39 PM
Why are the scrollbar backgrounds different in this skin (https://getwacup.com/community/index.php/topic,1077.0.html) (and many others)? How do you define the background colour of the Playlist Editor's scrollbar?
Title: Re: Scrollbar backgrounds do not match
Post by: dro on February 27, 2021, 12:07:03 AM
I'll have to look into it as I just rely on what the modern skin engine is providing via it's emulation of what the classic skin engine needs or from some internal api calls though it's entirely possible I'm not accounting for something with the "older" formform scrollbars as actual the drawing is something I handle.

-dro
Title: Re: Scrollbar backgrounds do not match
Post by: ariszlo on February 27, 2021, 12:42:12 AM
Figured it out. It is not enough to define wasabi.scrollbar.vertical.background in system-elements.xml, you also need wasabi.scrollbar.vertical.background.top, wasabi.scrollbar.vertical.background.middle and wasabi.scrollbar.vertical.background.bottom.

Similarly, wasabi.scrollbar.horizontal.background has to be multiplied too.