Fill panel width/height in custom/fit content modes when flexible spacer is in panel
The flexible spacer should always make the panel gain its maximum width/height; this implements that.
The flexible spacer should always make the panel gain its maximum width/height; this implements that.