If you use set_min_size it seems to clear whatever was set with set_max_size and vice versa.
If you use set_min_size it seems to clear whatever was set with set_max_size and vice versa.