소스 검색

LibGUI: Shrink GUI::Splitter by 1 pixel to make it look just right

Splitters were slightly oversized to work around the fact that we
were ignoring 2px on both sides of them. Now that the whole splitter
can be interacted with, we can lose 1px of fat and look great! :^)
Andreas Kling 5 년 전
부모
커밋
344e66caaa
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      Libraries/LibGUI/Splitter.cpp

+ 1 - 1
Libraries/LibGUI/Splitter.cpp

@@ -38,7 +38,7 @@ Splitter::Splitter(Orientation orientation)
     set_background_role(ColorRole::Button);
     set_layout<BoxLayout>(orientation);
     set_fill_with_background_color(true);
-    layout()->set_spacing(4);
+    layout()->set_spacing(3);
 }
 
 Splitter::~Splitter()