NOTE: New beta testers are not currently being added as I need to re-work the beta test program

If you've not already requested to be a beta tester & would like to then please send a PM to 'dro' to be added to the beta test group. Note: requests to be a beta tester are processed in batches when new beta builds are released so please by patient of this process.

Author Topic: Scrollbar backgrounds do not match  (Read 414 times)

ariszlo

  • Moderator
  • Hero Member
  • *****
  • Posts: 119
    • View Profile
Scrollbar backgrounds do not match
« on: February 26, 2021, 11:13:39 PM »
Why are the scrollbar backgrounds different in this skin (and many others)? How do you define the background colour of the Playlist Editor's scrollbar?

dro

  • Admin / WACUP Developer
  • Administrator
  • Hero Member
  • *****
  • Posts: 3027
    • View Profile
    • WACUP (Winamp Community Update Project)
Re: Scrollbar backgrounds do not match
« Reply #1 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

ariszlo

  • Moderator
  • Hero Member
  • *****
  • Posts: 119
    • View Profile
Re: Scrollbar backgrounds do not match
« Reply #2 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.