Updates containers minimum size when some constants are modified
This commit is contained in:
parent
7fa41f17a6
commit
a1f955a1d3
6 changed files with 124 additions and 98 deletions
|
|
@ -193,6 +193,10 @@ void SplitContainer::_notification(int p_what) {
|
|||
draw_texture(tex, Point2i(middle_sep + (sep - tex->get_width()) / 2, (size.y - tex->get_height()) / 2));
|
||||
}
|
||||
} break;
|
||||
case NOTIFICATION_THEME_CHANGED: {
|
||||
|
||||
minimum_size_changed();
|
||||
} break;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue