-
Notifications
You must be signed in to change notification settings - Fork 819
Open
Labels
a:builtin elementsThe runtime data structures related to the items (mO,bT)The runtime data structures related to the items (mO,bT)
Description
Bug Description
Clicking the button in the below example closes the live preview, even if it should just hide the sub window.
Reproducible Code (if applicable)
import { Button } from "std-widgets.slint";
export component App inherits Window {
background: red;
sub := Window {
background: green;
width: 100px;
height: 100px;
visible: true;
}
Button {
clicked => {
sub.hide();
}
}
}Environment Details
- Slint Version: master
- Platform/OS: Linux
- Programming Language: Slint
- Backend/Renderer: Qt
Product Impact
No response
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
a:builtin elementsThe runtime data structures related to the items (mO,bT)The runtime data structures related to the items (mO,bT)