1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-23 07:47:34 +00:00
serenity/Userland/Applications/CrashReporter/CrashReporterWindow.gml
Linus Groh 33c31e2198 CrashReporter: Show arguments and environment
Arguments as a simple label, environment in a new tab. :^)

Closes #4779.
2021-01-15 23:26:47 +01:00

100 lines
1.9 KiB
Text

@GUI::Widget {
fill_with_background_color: true
layout: @GUI::VerticalBoxLayout {
margins: [5, 5, 5, 5]
}
@GUI::Widget {
fixed_height: 44
layout: @GUI::HorizontalBoxLayout {
spacing: 10
}
@GUI::ImageWidget {
name: "icon"
}
@GUI::Label {
name: "description"
text_alignment: "CenterLeft"
}
}
@GUI::Widget {
fixed_height: 18
layout: @GUI::HorizontalBoxLayout {
}
@GUI::Label {
text: "Executable path:"
text_alignment: "CenterLeft"
fixed_width: 90
}
@GUI::LinkLabel {
name: "executable_link"
text_alignment: "CenterLeft"
}
}
@GUI::Widget {
fixed_height: 18
layout: @GUI::HorizontalBoxLayout {
}
@GUI::Label {
text: "Coredump path:"
text_alignment: "CenterLeft"
fixed_width: 90
}
@GUI::LinkLabel {
name: "coredump_link"
text_alignment: "CenterLeft"
}
}
@GUI::Widget {
fixed_height: 18
layout: @GUI::HorizontalBoxLayout {
}
@GUI::Label {
text: "Arguments:"
text_alignment: "CenterLeft"
fixed_width: 90
}
@GUI::Label {
name: "arguments_label"
text_alignment: "CenterLeft"
}
}
@GUI::TabWidget {
name: "tab_widget"
}
@GUI::Widget {
fixed_height: 32
layout: @GUI::HorizontalBoxLayout {
}
// HACK: We need something like Layout::add_spacer() in GML! :^)
@GUI::Widget {
}
@GUI::Button {
name: "close_button"
text: "Close"
fixed_width: 70
fixed_height: 22
}
}
}