FIX: ui style of base widgets

Change-Id: Ie0cff84d7a6f19c9830ce60f2a188fe9a7df545c
This commit is contained in:
chunmao.guo authored and Lane.Wei committed 2022-08-05 16:11:42 +08:00
1 parent 5f4f859337
commit a478abd88a
8 files changed
+43 -14

No files matched your search

+1 -1
View File
@@ -80,7 +80,7 @@ void SwitchButton::Rescale()
if (size.x > thumbSize.x) thumbSize.x = size.x;
else size.x = thumbSize.x;
thumbSize.x += BS * 12;
thumbSize.y += BS * 2;
thumbSize.y += BS * 6;
trackSize.x = thumbSize.x + size.x + BS * 10;
trackSize.y = thumbSize.y + BS * 2;
auto maxWidth = GetMaxWidth();