Latest WACUP public preview for x86 & x64 is build #23960 (March 1st 2026) (x86 & x64 changelogs)
Latest restricted WACUP beta release is build #24342 (April 17th 2026) (x86 & x64 changelogs)

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

ariszlo

  • Moderator
  • Hero Member
  • *****
  • Posts: 251
    • 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: 5690
    • 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: 251
    • 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.