diff --git a/ui/app-window.slint b/ui/app-window.slint index fc0f984..64d6a1f 100644 --- a/ui/app-window.slint +++ b/ui/app-window.slint @@ -17,7 +17,8 @@ export component AppWindow inherits Window { preferred-width: 800px; preferred-height: 600px; max-width: 2147483647px; - + max-height: 2147483647px; + callback start-new-event <=> record.start-new-event; callback stop-event <=> record.stop-event; callback chain-event <=> record.chain-event; @@ -63,6 +64,7 @@ export component AppWindow inherits Window { height: 100%; tl := Timeline { preferred-height: 100%; + min-height: 50px; state: in-record-mode ? record-state : review-state; clicked => { minimized = !minimized; diff --git a/ui/record.slint b/ui/record.slint index 1d9e810..b6c277a 100644 --- a/ui/record.slint +++ b/ui/record.slint @@ -35,6 +35,7 @@ export component RecordWidget inherits VerticalLayout { text: in-progress ? "Stop" : "Start"; row: 1; colspan: 2; + primary: true; clicked => { if in-progress { root.stop-event(); diff --git a/ui/review.slint b/ui/review.slint index e0d59cd..67ae319 100644 --- a/ui/review.slint +++ b/ui/review.slint @@ -33,6 +33,7 @@ export component ReviewWidget inherits VerticalLayout { horizontal-alignment: right; } Button { + primary: true; text: "Select"; clicked => { date-picker.show()