mirai/lib/slint-vynui/TextInput.slint
2024-08-29 11:18:09 +02:00

13 lines
387 B
Text

import { VLabeledComponent } from "LabeledComponent.slint";
import { Palette } from "Palette.slint";
export component VTextInput inherits VLabeledComponent {
in-out property text <=> textInputComponent.text;
in-out property wrap <=> textInputComponent.wrap;
callback accepted();
textInputComponent := TextInput {
color: Palette.foreground;
accepted => { root.accepted() }
}
}