Sorry, we don't support your browser.  Install a modern browser

[Public Beta] XML UI Panel sized with minWidth/minHeight stretches to fill its parent and ignores rectAlignment#3256

In the v20 public beta, a legacy XML Panel that only has minWidth and minHeight (no width or height) stretches to the full size of its parent Panel, so rectAlignment and offsetXY no longer place it. In v14 the same XML draws it at its min size in the corner rectAlignment asks for.

Repro (Global XML UI):

<Panel rectAlignment="MiddleCenter" width="320" height="200" color="rgb(0,0,0)">
  <Panel height="75" width="300" offsetXY="0 45" color="rgb(0.2,0.2,0.2)">
    <Text alignment="MiddleLeft" fontSize="14" color="rgb(1,1,1)">  minWidth/minHeight 75</Text>
    <Panel rectAlignment="MiddleRight" offsetXY="-5 0" minWidth="75" minHeight="75" color="rgb(0.87,0.13,0.13)"/>
  </Panel>
  <Panel height="75" width="300" offsetXY="0 -45" color="rgb(0.2,0.2,0.2)">
    <Text alignment="MiddleLeft" fontSize="14" color="rgb(1,1,1)">  width/height 75</Text>
    <Panel rectAlignment="MiddleRight" offsetXY="-5 0" width="75" height="75" color="rgb(0.87,0.13,0.13)"/>
  </Panel>
</Panel>

Expected (v14): both red squares are 75x75 at the right end of their row.
Beta: the top square fills the whole row and covers the label. The bottom one, with width/height, is correct.

Why it matters: our mod’s streamer view puts a K.O. badge over each character’s portrait with this pattern. On the beta the badge lands in the middle of the row on top of the health and power bars (screenshot in the comments). Existing mods built against v14 layouts will shift the same way. (The white bars in that screenshot are a separate ProgressBar issue, #3241.)

Mod: https://steamcommunity.com/sharedfiles/filedetails/?id=3036795456

The repro in Global UI and a save with the repro XML are in the comments.

Version: v20.0 public_beta, Windows 11.

2 hours ago
2 hours ago

Repro in Global UI (top row: minWidth/minHeight, bottom row: width/height) and a save with the repro XML.

2 hours ago
Changed the status to
Research
29 minutes ago