diff options
author | Daniel J. Ramirez <djrmuv@gmail.com> | 2017-09-13 21:31:35 -0500 |
---|---|---|
committer | Daniel J. Ramirez <djrmuv@gmail.com> | 2017-09-14 11:21:56 -0500 |
commit | 4cc4f5cc5dc8ad272d694efe1d01229289b0b6c0 (patch) | |
tree | 57dffc9c266bdf5a423198d7b2325190f3803b3d | |
parent | d31215e4cdea4bff3a692bda24c2f248fe77c8fb (diff) |
Fix non flat favorite icons
-rw-r--r-- | editor/create_dialog.cpp | 1 | ||||
-rw-r--r-- | editor/editor_file_dialog.cpp | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/editor/create_dialog.cpp b/editor/create_dialog.cpp index 344cb87aa6..7b6cfe6c83 100644 --- a/editor/create_dialog.cpp +++ b/editor/create_dialog.cpp @@ -625,6 +625,7 @@ CreateDialog::CreateDialog() { search_box->set_h_size_flags(SIZE_EXPAND_FILL); search_hb->add_child(search_box); favorite = memnew(Button); + favorite->set_flat(true); favorite->set_toggle_mode(true); search_hb->add_child(favorite); favorite->connect("pressed", this, "_favorite_toggled"); diff --git a/editor/editor_file_dialog.cpp b/editor/editor_file_dialog.cpp index 0d6c552d1d..be8dc0f494 100644 --- a/editor/editor_file_dialog.cpp +++ b/editor/editor_file_dialog.cpp @@ -1298,6 +1298,7 @@ EditorFileDialog::EditorFileDialog() { pathhb->add_child(refresh); favorite = memnew(ToolButton); + favorite->set_flat(true); favorite->set_toggle_mode(true); favorite->connect("toggled", this, "_favorite_toggled"); pathhb->add_child(favorite); |