Fixes it for me based on your code snippet. Needs a complete demo code to understand/fix your problem. Works also with your BOX_FIREWALL. Since you already added resizable="false" to your window widget, below buttons will hide/show BOX_FIREWALL., causing the window to adapt its size accordingly:BarryK wrote:Setting resizable="false" does not fix it for me.
Code: Select all
<hbox>
<button label="Hide BOX_FIREWALL"><action>hide:BOX_FIREWALL</action></button>
<button label="Show BOX_FIREWALL"><action>show:BOX_FIREWALL</action></button>
<button><label>Exit</label><action function="exit">quit</action></button>
</hbox>
I only see a "big gap" when I remove resizable="false". The not so big gap in the picture you can eliminate withAs soon as I inserted that hbox section, the window rendered with a big gap on the left side. See picture.
Code: Select all
<text xalign="0" width-chars="25">