mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-12-11 17:00:37 +00:00
Inspector: Require horizontal scrollbars less often
Make the window a bit larger, and give the left pane a Fixed size policy, so that it takes up less than half the window.
This commit is contained in:
parent
895ab8e745
commit
8126104a03
Notes:
sideshowbarker
2024-07-19 03:39:42 +09:00
Author: https://github.com/nico Commit: https://github.com/SerenityOS/serenity/commit/8126104a034 Pull-request: https://github.com/SerenityOS/serenity/pull/3129
1 changed files with 3 additions and 1 deletions
|
@ -94,7 +94,7 @@ int main(int argc, char** argv)
|
|||
|
||||
auto window = GUI::Window::construct();
|
||||
window->set_title("Inspector");
|
||||
window->set_rect(150, 150, 550, 500);
|
||||
window->set_rect(150, 150, 685, 500);
|
||||
window->set_icon(app_icon.bitmap_for_size(16));
|
||||
|
||||
auto menubar = GUI::MenuBar::construct();
|
||||
|
@ -122,6 +122,8 @@ int main(int argc, char** argv)
|
|||
auto& tree_view = splitter.add<GUI::TreeView>();
|
||||
tree_view.set_model(remote_process.object_graph_model());
|
||||
tree_view.set_activates_on_selection(true);
|
||||
tree_view.set_size_policy(GUI::SizePolicy::Fixed, GUI::SizePolicy::Fill);
|
||||
tree_view.set_preferred_size(286, 0);
|
||||
|
||||
auto& properties_tree_view = splitter.add<GUI::TreeView>();
|
||||
properties_tree_view.set_editable(true);
|
||||
|
|
Loading…
Reference in a new issue