Skip to content

Commit

Permalink
Merge pull request #93661 from passivestar/overview-label
Browse files Browse the repository at this point in the history
Center the label in overview of script editor
  • Loading branch information
akien-mga committed Jun 27, 2024
2 parents 3f4bcfe + 1a1d8a5 commit cae2f85
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 cae2f85

Please sign in to comment.