serenity/Userland/Applications/SystemMonitor/ProcessWindow.gml
thankyouverycool 4c9933bfb7 LibGUI: Remove Label icons and replace instances with ImageWidget
These icons are a relic of GLabel and were never implemented to
accomodate both image and text. This convenience can always be added
in the future, but no current instance assumes or needs it, so let's
replace them all with ImageWidget to show clearer intent.
2023-04-30 05:48:14 +02:00

69 lines
1.6 KiB
Plaintext

@GUI::Widget {
fill_with_background_color: true
layout: @GUI::VerticalBoxLayout {
margins: [4]
}
@GUI::Widget {
shrink_to_fit: true
layout: @GUI::HorizontalBoxLayout {
margins: [4]
spacing: 8
}
@GUI::ImageWidget {
name: "process_icon"
fixed_size: [32, 32]
}
@GUI::Label {
name: "process_name"
font_weight: "Bold"
text_alignment: "CenterLeft"
text: "This is the process name."
preferred_width: "grow"
}
}
@GUI::HorizontalSeparator {
fixed_height: 2
}
@GUI::StackWidget {
name: "widget_stack"
@SystemMonitor::UnavailableProcessWidget {
name: "unavailable_process"
}
@GUI::TabWidget {
name: "available_process"
@SystemMonitor::ProcessStateWidget {
name: "process_state"
title: "State"
}
@SystemMonitor::ProcessMemoryMapWidget {
name: "memory_map"
title: "Memory map"
}
@SystemMonitor::ProcessFileDescriptorMapWidget {
name: "open_files"
title: "Open files"
}
@SystemMonitor::ProcessUnveiledPathsWidget {
name: "unveiled_paths"
title: "Unveiled paths"
}
@SystemMonitor::ThreadStackWidget {
name: "thread_stack"
title: "Stack"
}
}
}
}