16 lines
463 B
Plaintext
16 lines
463 B
Plaintext
import { Button, VerticalBox } from "std-widgets.slint";
|
|
|
|
export component AppWindow inherits Window {
|
|
in property <image> 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 {}
|
|
}
|
|
}
|
|
|