Preview: when clicking "show preview" the size of the preview adjust but not the frame
In the master branch only.
For example with this simple slint code:
export component Foo {
Rectangle { background: lime; }
}
Resize the preview to some random size. Click "show preview" The preview resizes (to match a preferreed size which isn't set) (OK). But the frames doesn't follow immediatly.
Original comment
Right, the master branch SlintPad you linked doesn't have this error. However, there's the following succession of previews:
After first pasting the code:
After pressing "Show Preview" on Bar and then on Foo:
After again pressing "Show Preview" on Foo:
Originally posted by @Enyium in https://github.com/slint-ui/slint/issues/5949#issuecomment-2310379818
That's an interesting issue: In the middle picture the resize handles are in the right place, but the box that goes with those is not.