ui: Little adjustments
This commit is contained in:
parent
1a1f6dde83
commit
d4e924b258
3 changed files with 5 additions and 1 deletions
|
|
@ -17,7 +17,8 @@ export component AppWindow inherits Window {
|
||||||
preferred-width: 800px;
|
preferred-width: 800px;
|
||||||
preferred-height: 600px;
|
preferred-height: 600px;
|
||||||
max-width: 2147483647px;
|
max-width: 2147483647px;
|
||||||
|
max-height: 2147483647px;
|
||||||
|
|
||||||
callback start-new-event <=> record.start-new-event;
|
callback start-new-event <=> record.start-new-event;
|
||||||
callback stop-event <=> record.stop-event;
|
callback stop-event <=> record.stop-event;
|
||||||
callback chain-event <=> record.chain-event;
|
callback chain-event <=> record.chain-event;
|
||||||
|
|
@ -63,6 +64,7 @@ export component AppWindow inherits Window {
|
||||||
height: 100%;
|
height: 100%;
|
||||||
tl := Timeline {
|
tl := Timeline {
|
||||||
preferred-height: 100%;
|
preferred-height: 100%;
|
||||||
|
min-height: 50px;
|
||||||
state: in-record-mode ? record-state : review-state;
|
state: in-record-mode ? record-state : review-state;
|
||||||
clicked => {
|
clicked => {
|
||||||
minimized = !minimized;
|
minimized = !minimized;
|
||||||
|
|
|
||||||
|
|
@ -35,6 +35,7 @@ export component RecordWidget inherits VerticalLayout {
|
||||||
text: in-progress ? "Stop" : "Start";
|
text: in-progress ? "Stop" : "Start";
|
||||||
row: 1;
|
row: 1;
|
||||||
colspan: 2;
|
colspan: 2;
|
||||||
|
primary: true;
|
||||||
clicked => {
|
clicked => {
|
||||||
if in-progress {
|
if in-progress {
|
||||||
root.stop-event();
|
root.stop-event();
|
||||||
|
|
|
||||||
|
|
@ -33,6 +33,7 @@ export component ReviewWidget inherits VerticalLayout {
|
||||||
horizontal-alignment: right;
|
horizontal-alignment: right;
|
||||||
}
|
}
|
||||||
Button {
|
Button {
|
||||||
|
primary: true;
|
||||||
text: "Select";
|
text: "Select";
|
||||||
clicked => {
|
clicked => {
|
||||||
date-picker.show()
|
date-picker.show()
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue