mirror of
https://github.com/RGBCube/serenity
synced 2025-05-15 06:24:58 +00:00

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.
68 lines
1.6 KiB
Text
68 lines
1.6 KiB
Text
@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"
|
|
}
|
|
}
|
|
}
|
|
}
|