ui: Little adjustments

This commit is contained in:
Alexey 2026-04-08 14:32:38 +03:00
commit d4e924b258
3 changed files with 5 additions and 1 deletions

View file

@ -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;

View file

@ -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();

View file

@ -33,6 +33,7 @@ export component ReviewWidget inherits VerticalLayout {
horizontal-alignment: right;
}
Button {
primary: true;
text: "Select";
clicked => {
date-picker.show()