mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-31 05:09:12 +00:00
Inspector: Select entire property row
With some themes (like the default one), it was possible to select a property, making the text of its value not visible. I solved this by setting set_should_fill_selected_rows to true.
This commit is contained in:
parent
b9fc7780ae
commit
0af920b255
Notes:
sideshowbarker
2024-07-18 19:18:17 +09:00
Author: https://github.com/DragonAlex98
Commit: 0af920b255
Pull-request: https://github.com/SerenityOS/serenity/pull/6522
1 changed files with 1 additions and 0 deletions
|
@ -162,6 +162,7 @@ int main(int argc, char** argv)
|
|||
tree_view.set_fixed_width(286);
|
||||
|
||||
auto& properties_tree_view = splitter.add<GUI::TreeView>();
|
||||
properties_tree_view.set_should_fill_selected_rows(true);
|
||||
properties_tree_view.set_editable(true);
|
||||
properties_tree_view.aid_create_editing_delegate = [](auto&) {
|
||||
return make<GUI::StringModelEditingDelegate>();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue