FormElement
A FormElement
is a container that groups its children together under a common title without background.
Properties
title
(in string): A text written as the title of the form element.style
(in FormElementStyle): Defines the style of the form element.
Example
import { FormElement, FilledButton } from "@vivi/magic.slint";
export component Example inherits Window {
width: 200px;
height: 100px;
FormElement {
title: "Button";
FilledButton {
text: "Click me";
}
}
}