1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-19 14:31:59 +00:00

Several ui improvements (mostly margins)

Improved colors

Added some missing icons
This commit is contained in:
Daniel J. Ramirez
2017-08-07 21:55:24 -05:00
parent 9e938bf3c1
commit 273d2ab9d4
23 changed files with 187 additions and 84 deletions

View File

@@ -168,15 +168,10 @@ EditorLog::EditorLog() {
HBoxContainer *hb = memnew(HBoxContainer);
vb->add_child(hb);
title = memnew(Label);
title->set_text(TTR(" Output:"));
title->set_text(TTR("Output:"));
title->set_h_size_flags(SIZE_EXPAND_FILL);
hb->add_child(title);
//pd = memnew( PaneDrag );
//hb->add_child(pd);
//pd->connect("dragged",this,"_dragged");
//pd->set_default_cursor_shape(Control::CURSOR_MOVE);
clearbutton = memnew(Button);
hb->add_child(clearbutton);
clearbutton->set_text(TTR("Clear"));
@@ -184,7 +179,7 @@ EditorLog::EditorLog() {
ec = memnew(Control);
vb->add_child(ec);
ec->set_custom_minimum_size(Size2(0, 180));
ec->set_custom_minimum_size(Size2(0, 180) * EDSCALE);
ec->set_v_size_flags(SIZE_EXPAND_FILL);
pc = memnew(PanelContainer);