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();
|
int w = updown->get_width();
|
||||||
if (w != last_w) {
|
if (w != last_w) {
|
||||||
line_edit->set_margin(MARGIN_RIGHT, w);
|
line_edit->set_margin(MARGIN_RIGHT, -w);
|
||||||
last_w = w;
|
last_w = w;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user