From 56109d1a4b84da9d2b4bedb0e30f5daa7ecc8254 Mon Sep 17 00:00:00 2001 From: Noah Davis Date: Thu, 20 Jan 2022 18:20:45 -0500 Subject: [PATCH] kstyle: Make scrollbar handles slightly skinnier Changed handle thickness from 10px to 8px. This makes the spacing around the handle look more consistent. Visually, there was 5px of empty space on each side, now there is 6px of empty space on each side. (cherry picked from commit 2f926402701309307a7dd2add776d97bbe6767ab) --- kstyle/breezemetrics.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kstyle/breezemetrics.h b/kstyle/breezemetrics.h index 2ccdbac0..14591aea 100644 --- a/kstyle/breezemetrics.h +++ b/kstyle/breezemetrics.h @@ -90,7 +90,7 @@ namespace Breeze // scrollbars static constexpr int ScrollBar_Extend = 21; - static constexpr int ScrollBar_SliderWidth = 10; + static constexpr int ScrollBar_SliderWidth = 8; static constexpr int ScrollBar_MinSliderHeight = 20; static constexpr int ScrollBar_NoButtonHeight = (ScrollBar_Extend-ScrollBar_SliderWidth)/2; static constexpr int ScrollBar_SingleButtonHeight = ScrollBar_Extend;