瀏覽代碼

Serendipity: Simplify GML and fix button alignment

Andreas Kling 4 年之前
父節點
當前提交
1375c57c4a
共有 1 個文件被更改,包括 2 次插入8 次删除
  1. 2 8
      Userland/Applications/Serendipity/SerendipityWindow.gml

+ 2 - 8
Userland/Applications/Serendipity/SerendipityWindow.gml

@@ -73,12 +73,12 @@
         }
 
         @GUI::Widget {
-            fixed_width: 5
+            fixed_width: 3
         }
 
         @GUI::Widget {
             name: "navigation_column"
-            fixed_width: 120
+            fixed_width: 115
             min_height: 160
             layout: @GUI::VerticalBoxLayout {
             }
@@ -86,22 +86,16 @@
             @GUI::Button {
                 name: "new_button"
                 text: "What's New"
-                min_width: 115
-                min_height: 24
             }
 
             @GUI::Button {
                 name: "help_button"
                 text: "Help Contents"
-                min_width: 115
-                min_height: 24
             }
 
             @GUI::Button {
                 name: "next_button"
                 text: "Next Tip"
-                min_width: 115
-                min_height: 24
             }
 
         }