Skip to content

Commit

Permalink
Center the label in overview of script editor
Browse files Browse the repository at this point in the history
  • Loading branch information
passivestar committed Jun 27, 2024
1 parent 7907ef8 commit 1a1d8a5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions editor/plugins/script_editor_plugin.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4049,6 +4049,7 @@ ScriptEditor::ScriptEditor(WindowWrapper *p_wrapper) {
filename = memnew(Label);
filename->set_clip_text(true);
filename->set_h_size_flags(SIZE_EXPAND_FILL);
filename->set_vertical_alignment(VERTICAL_ALIGNMENT_CENTER);
filename->add_theme_style_override(CoreStringName(normal), EditorNode::get_singleton()->get_editor_theme()->get_stylebox(CoreStringName(normal), SNAME("LineEdit")));
buttons_hbox->add_child(filename);

Expand Down

0 comments on commit 1a1d8a5

Please sign in to comment.