diff options
| author | Daniel J. Ramirez | 2017-09-27 14:44:48 -0500 |
|---|---|---|
| committer | Daniel J. Ramirez | 2017-09-28 15:00:43 -0500 |
| commit | 15986ea34322529637957d35ac66ad47ff936234 (patch) | |
| tree | aa6f2dc1e95a80dc7c31a25330e6480323dbabf9 /editor/property_editor.cpp | |
| parent | 4f39ce32b9195405f934445b20059e86632b47f9 (diff) | |
| download | godot-15986ea343.tar.gz godot-15986ea343.tar.zst godot-15986ea343.zip | |
Several visual improvements.
Added proper label sizing
Improved text editor status bar
Fixed some issues with ItemList and also some style fixes
Added background to color picker samples (the mrcdk fix)
Fixed slider ticks.
Added VS breakpoint and error styleboxes.
Diffstat (limited to 'editor/property_editor.cpp')
| -rw-r--r-- | editor/property_editor.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/editor/property_editor.cpp b/editor/property_editor.cpp index fcae4c04f..f7e15e16b 100644 --- a/editor/property_editor.cpp +++ b/editor/property_editor.cpp @@ -3538,14 +3538,14 @@ void PropertyEditor::_draw_transparency(Object *t, const Rect2 &p_rect) { return; Color color = obj->get(ti->get_metadata(1)); - Ref<Texture> arrow = tree->get_icon("select_arrow"); + Ref<Texture> arrow = tree->get_icon("select_option"); // make a little space between consecutive color fields Rect2 area = p_rect; area.position.y += 1; area.size.height -= 2; area.size.width -= arrow->get_size().width + 5; - tree->draw_texture_rect(get_icon("Transparent", "EditorIcons"), area, true); + tree->draw_texture_rect(get_icon("GuiMiniCheckerboard", "EditorIcons"), area, true); tree->draw_rect(area, color); } |
