1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-10-31 18:02:44 +00:00
serenity/Userland/Applications/CrashReporter/CrashReporterWindow.gml
Itamar dd76ba2fe1 CrashReporter: Add "Inspect in Hack Studio" button
This allows the user to open the crash coredump in Hack Studio and
inspect it in the Debug tab.
2021-11-20 21:22:24 +00:00

102 lines
2 KiB
Text

@GUI::Widget {
fill_with_background_color: true
layout: @GUI::VerticalBoxLayout {
margins: [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
@GUI::Button {
name: "inspect_button"
text: "Inspect in Hack Studio"
fixed_width: 150
fixed_height: 22
}
// 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
}
}
}