1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 04:57:45 +00:00

CrashReporter: Tweak layout

These changes bring the margins, spacing, and sizes more in line with
what is used in the rest of the system.
This commit is contained in:
FrHun 2022-07-05 00:11:20 +02:00 committed by Andreas Kling
parent f6cea8ad8c
commit 761325cd66

View file

@ -1,11 +1,12 @@
@GUI::Widget { @GUI::Widget {
fill_with_background_color: true fill_with_background_color: true
layout: @GUI::VerticalBoxLayout { layout: @GUI::VerticalBoxLayout {
margins: [5] margins: [4]
spacing: 6
} }
@GUI::Widget { @GUI::Widget {
fixed_height: 44 preferred_height: "fit"
layout: @GUI::HorizontalBoxLayout { layout: @GUI::HorizontalBoxLayout {
spacing: 10 spacing: 10
} }
@ -21,7 +22,7 @@
} }
@GUI::Widget { @GUI::Widget {
fixed_height: 18 preferred_height: "fit"
layout: @GUI::HorizontalBoxLayout {} layout: @GUI::HorizontalBoxLayout {}
@GUI::Label { @GUI::Label {
@ -37,7 +38,7 @@
} }
@GUI::Widget { @GUI::Widget {
fixed_height: 18 preferred_height: "fit"
layout: @GUI::HorizontalBoxLayout {} layout: @GUI::HorizontalBoxLayout {}
@GUI::Label { @GUI::Label {
@ -53,7 +54,7 @@
} }
@GUI::Widget { @GUI::Widget {
fixed_height: 18 preferred_height: "fit"
layout: @GUI::HorizontalBoxLayout {} layout: @GUI::HorizontalBoxLayout {}
@GUI::Label { @GUI::Label {
@ -79,27 +80,28 @@
} }
@GUI::Widget { @GUI::Widget {
fixed_height: 32 preferred_height: "fit"
layout: @GUI::HorizontalBoxLayout {} layout: @GUI::HorizontalBoxLayout {
spacing: 6
@GUI::Button {
name: "debug_button"
text: "Debug in Hack Studio"
fixed_width: 150
} }
@GUI::Button { @GUI::DialogButton {
name: "debug_button"
text: "Debug in Hack Studio"
fixed_width: 160
}
@GUI::DialogButton {
name: "save_backtrace_button" name: "save_backtrace_button"
text: "Save Backtrace" text: "Save Backtrace"
fixed_width: 150 fixed_width: 160
} }
@GUI::Layout::Spacer {} @GUI::Layout::Spacer {}
@GUI::Button { @GUI::DialogButton {
name: "close_button" name: "close_button"
text: "Close" text: "Close"
fixed_width: 70
} }
} }
} }