macOS themes: added some ScrollBar UI properties so that themes look the same on Windows or Linux as on macOS (issue #497)

This commit is contained in:
Karl Tauber
2022-05-12 14:47:58 +02:00
parent 7f15f557a5
commit 5eaebde437
4 changed files with 20 additions and 8 deletions

View File

@@ -192,6 +192,12 @@ ScrollBar.width = 12
ScrollBar.track = @componentBackground
ScrollBar.thumb = @buttonBackground
# from FlatLaf.properties (when using not on macOS)
ScrollBar.minimumThumbSize = 18,18
ScrollBar.thumbInsets = 2,2,2,2
ScrollBar.thumbArc = 999
ScrollBar.hoverThumbWithTrack = true
#---- Separator ----

View File

@@ -192,6 +192,12 @@ ScrollBar.width = 12
ScrollBar.track = darken(@componentBackground,2%)
ScrollBar.thumb = darken(@componentBackground,24%)
# from FlatLaf.properties (when using not on macOS)
ScrollBar.minimumThumbSize = 18,18
ScrollBar.thumbInsets = 2,2,2,2
ScrollBar.thumbArc = 999
ScrollBar.hoverThumbWithTrack = true
#---- Separator ----