Issue Type: Display
Impact: Moderate
Frequency: Constantly
Date First Experienced: 2021-04-10 13:04:00 (+01:00)
Date Last Experienced:
Reproduction Steps:
- Open repro file: border-clip.rbxl (22.9 KB)
- Observe that the inner frame is clipped within the outer edge, rather than the border-padded inner area
No Studio Beta features enabled
Studio Version 0.473.0.420291
Windows 10 64-bit
Expected Behavior:
When Middle or Inset BorderModes are used, the content area is padded by the amount of the border that reaches inwards. This happens correctly already.
This padded content area should be accounted for by ClipsDescendants. In the repro file, the outer frame’s content should be clipped within the inner area inside the border.
Actual Behavior:
The outer frame’s content is clipped within the outer boundaries rather than the inner area.
Workaround:
Create an invisible borderless frame inside the outer frame to use as the clipping frame instead.