Hello Developers! Below are pictures of an issue I have. If I have a UIStroke on a Frame/Button/Image, and it is in the UIListLayout or UIGridLayout AND is a child of a Scrolling Frame, the stroke looks like this on the edges. How do I fix this?
If you use UIListLayout
, add an invisible object to make a space.
1 Like
What would I do for a UIGridLayout?
Something similar:
- Add an invisible
Frame
(light blue square) - Add a
Frame
withAutomaticSize
inY
(green frame) - Add the
Frame
withUIStroke
in theFrame
withAutomaticSize
.
The grid will have to be sized in pixels, but this can be solved using mathematics.
You can also do the same, but with UIListLayout:
- Create frames that are as big in X as the scroll, scale (1, Y),
- Script that accommodates the smaller
Frames
in each longFrame
.
Usually happens in scrolling frames for me, add a UIPadding
element and set PaddingTop
to the something like 1.
1 Like
Thanks! Using UIPadding worked!
1 Like
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.