mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-22 15:40:19 +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:
parent
f6cea8ad8c
commit
761325cd66
Notes:
sideshowbarker
2024-07-18 00:41:35 +09:00
Author: https://github.com/frhun Commit: https://github.com/SerenityOS/serenity/commit/761325cd66 Pull-request: https://github.com/SerenityOS/serenity/pull/14491
1 changed files with 18 additions and 16 deletions
|
@ -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 {}
|
||||
|
||||
@GUI::Button {
|
||||
name: "debug_button"
|
||||
text: "Debug in Hack Studio"
|
||||
fixed_width: 150
|
||||
preferred_height: "fit"
|
||||
layout: @GUI::HorizontalBoxLayout {
|
||||
spacing: 6
|
||||
}
|
||||
|
||||
@GUI::Button {
|
||||
@GUI::DialogButton {
|
||||
name: "debug_button"
|
||||
text: "Debug in Hack Studio"
|
||||
fixed_width: 160
|
||||
}
|
||||
|
||||
@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
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue