You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-25 15:37:42 +00:00
align to horizontal_alignment, valign to vertical_alignment, related
This commit is contained in:
@@ -123,7 +123,7 @@ CheckBox::CheckBox(const String &p_text) :
|
||||
Button(p_text) {
|
||||
set_toggle_mode(true);
|
||||
|
||||
set_text_align(ALIGN_LEFT);
|
||||
set_text_alignment(HORIZONTAL_ALIGNMENT_LEFT);
|
||||
|
||||
if (is_layout_rtl()) {
|
||||
_set_internal_margin(SIDE_RIGHT, get_icon_size().width);
|
||||
|
||||
Reference in New Issue
Block a user