commit
da144fed4c
8 changed files with 74 additions and 52 deletions
|
|
@ -3936,7 +3936,6 @@ AnimationKeyEditor::AnimationKeyEditor() {
|
|||
key_editor_tab->set_custom_minimum_size(Size2(200, 0) * EDSCALE);
|
||||
|
||||
key_editor = memnew(PropertyEditor);
|
||||
key_editor->set_anchors_and_margins_preset(Control::PRESET_WIDE);
|
||||
key_editor->hide_top_label();
|
||||
key_editor->set_name(TTR("Key"));
|
||||
key_editor_tab->add_child(key_editor);
|
||||
|
|
|
|||
|
|
@ -1790,7 +1790,6 @@ EditorHelp::EditorHelp() {
|
|||
{
|
||||
class_desc = memnew(RichTextLabel);
|
||||
vbc->add_child(class_desc);
|
||||
class_desc->set_anchors_and_margins_preset(Control::PRESET_WIDE);
|
||||
class_desc->set_v_size_flags(SIZE_EXPAND_FILL);
|
||||
class_desc->add_color_override("selection_color", EDITOR_DEF("text_editor/highlighting/selection_color", Color(0.2, 0.2, 1)));
|
||||
class_desc->connect("meta_clicked", this, "_class_desc_select");
|
||||
|
|
|
|||
|
|
@ -161,7 +161,6 @@ EditorLog::EditorLog() {
|
|||
log->set_selection_enabled(true);
|
||||
log->set_focus_mode(FOCUS_CLICK);
|
||||
log->set_custom_minimum_size(Size2(0, 180) * EDSCALE);
|
||||
log->set_anchors_and_margins_preset(Control::PRESET_WIDE);
|
||||
log->set_v_size_flags(SIZE_EXPAND_FILL);
|
||||
log->set_h_size_flags(SIZE_EXPAND_FILL);
|
||||
vb->add_child(log);
|
||||
|
|
|
|||
|
|
@ -5083,9 +5083,6 @@ EditorNode::EditorNode() {
|
|||
play_cc = memnew(CenterContainer);
|
||||
play_cc->set_mouse_filter(Control::MOUSE_FILTER_IGNORE);
|
||||
menu_hb->add_child(play_cc);
|
||||
play_cc->set_anchors_and_margins_preset(Control::PRESET_WIDE);
|
||||
play_cc->set_anchor_and_margin(MARGIN_BOTTOM, Control::ANCHOR_BEGIN, 10);
|
||||
play_cc->set_margin(MARGIN_TOP, 5);
|
||||
|
||||
play_button_panel = memnew(PanelContainer);
|
||||
// play_button_panel->add_style_override("panel", gui_base->get_stylebox("PlayButtonPanel", "EditorStyles"));
|
||||
|
|
|
|||
|
|
@ -1504,7 +1504,6 @@ ProjectSettingsEditor::ProjectSettingsEditor(EditorData *p_data) {
|
|||
|
||||
Control *input_base = memnew(Control);
|
||||
input_base->set_name(TTR("Input Map"));
|
||||
input_base->set_anchors_and_margins_preset(Control::PRESET_WIDE);
|
||||
tab_container->add_child(input_base);
|
||||
|
||||
VBoxContainer *vbc = memnew(VBoxContainer);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue