generated from OBJNULL/Dockerized-Rust
Calculation implements the CalendarGrid widget
This commit is contained in:
parent
66c13bc08a
commit
c3fd6dea17
1 changed files with 11 additions and 3 deletions
|
@ -1,11 +1,14 @@
|
|||
import { VerticalBox, Button, Palette } from "std-widgets.slint";
|
||||
import { CalendarGrid } from "calendar.slint";
|
||||
|
||||
export component Calculation inherits PopupWindow {
|
||||
width: 400px;
|
||||
height: 200px;
|
||||
width: 500px;
|
||||
height: 350px;
|
||||
close-policy: PopupClosePolicy.no-auto-close;
|
||||
|
||||
in property <string> message: "EXAMPLE MESSAGE";
|
||||
in property <string> message;
|
||||
in property <int> start;
|
||||
in property <int> end;
|
||||
|
||||
Rectangle {
|
||||
height: 100%;
|
||||
|
@ -16,6 +19,11 @@ export component Calculation inherits PopupWindow {
|
|||
}
|
||||
|
||||
VerticalBox {
|
||||
CalendarGrid {
|
||||
start: start;
|
||||
end: end;
|
||||
}
|
||||
|
||||
Text {
|
||||
text: message;
|
||||
font-size: 1.5rem;
|
||||
|
|
Loading…
Reference in a new issue