mirror of
https://github.com/godotengine/godot.git
synced 2024-11-15 00:23:27 +00:00
Merge pull request #10514 from groud/fix_grid_size_dialog
Fix spinboxes bad look
This commit is contained in:
commit
270abb2118
@ -192,7 +192,7 @@ void SpinBox::_notification(int p_what) {
|
||||
|
||||
int w = updown->get_width();
|
||||
if (w != last_w) {
|
||||
line_edit->set_margin(MARGIN_RIGHT, w);
|
||||
line_edit->set_margin(MARGIN_RIGHT, -w);
|
||||
last_w = w;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user