import { Button, VerticalBox } from "std-widgets.slint"; export component AppWindow inherits Window { in property video-frame <=> image.source; VerticalBox { x: root.safe-area-insets.left; y: root.safe-area-insets.top; width: root.width - root.safe-area-insets.left - root.safe-area-insets.right; height: root.height - root.safe-area-insets.top - root.safe-area-insets.bottom; image := Image {} } }