mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 05:07:35 +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
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