summaryrefslogtreecommitdiff
path: root/Userland/Applications/CrashReporter
diff options
context:
space:
mode:
authorFrHun <28605587+frhun@users.noreply.github.com>2022-07-05 00:11:20 +0200
committerAndreas Kling <kling@serenityos.org>2022-07-15 12:34:25 +0200
commit761325cd66026e4daed611df51ccecf6d7fe1dfa (patch)
tree43f113c13c411f2b2566fab08a118dc23a23f754 /Userland/Applications/CrashReporter
parentf6cea8ad8c0b45efb63fbc0a2ab25f69d1ff8a93 (diff)
downloadserenity-761325cd66026e4daed611df51ccecf6d7fe1dfa.zip
CrashReporter: Tweak layout
These changes bring the margins, spacing, and sizes more in line with what is used in the rest of the system.
Diffstat (limited to 'Userland/Applications/CrashReporter')
-rw-r--r--Userland/Applications/CrashReporter/CrashReporterWindow.gml28
1 files changed, 15 insertions, 13 deletions
diff --git a/Userland/Applications/CrashReporter/CrashReporterWindow.gml b/Userland/Applications/CrashReporter/CrashReporterWindow.gml
index 59928c04d2..7907904a62 100644
--- a/Userland/Applications/CrashReporter/CrashReporterWindow.gml
+++ b/Userland/Applications/CrashReporter/CrashReporterWindow.gml
@@ -1,11 +1,12 @@
@GUI::Widget {
fill_with_background_color: true
layout: @GUI::VerticalBoxLayout {
- margins: [5]
+ margins: [4]
+ spacing: 6
}
@GUI::Widget {
- fixed_height: 44
+ preferred_height: "fit"
layout: @GUI::HorizontalBoxLayout {
spacing: 10
}
@@ -21,7 +22,7 @@
}
@GUI::Widget {
- fixed_height: 18
+ preferred_height: "fit"
layout: @GUI::HorizontalBoxLayout {}
@GUI::Label {
@@ -37,7 +38,7 @@
}
@GUI::Widget {
- fixed_height: 18
+ preferred_height: "fit"
layout: @GUI::HorizontalBoxLayout {}
@GUI::Label {
@@ -53,7 +54,7 @@
}
@GUI::Widget {
- fixed_height: 18
+ preferred_height: "fit"
layout: @GUI::HorizontalBoxLayout {}
@GUI::Label {
@@ -79,27 +80,28 @@
}
@GUI::Widget {
- fixed_height: 32
- layout: @GUI::HorizontalBoxLayout {}
+ preferred_height: "fit"
+ layout: @GUI::HorizontalBoxLayout {
+ spacing: 6
+ }
- @GUI::Button {
+ @GUI::DialogButton {
name: "debug_button"
text: "Debug in Hack Studio"
- fixed_width: 150
+ fixed_width: 160
}
- @GUI::Button {
+ @GUI::DialogButton {
name: "save_backtrace_button"
text: "Save Backtrace"
- fixed_width: 150
+ fixed_width: 160
}
@GUI::Layout::Spacer {}
- @GUI::Button {
+ @GUI::DialogButton {
name: "close_button"
text: "Close"
- fixed_width: 70
}
}
}