Skip to content

Commit

Permalink
[*] improve ui
Browse files Browse the repository at this point in the history
  • Loading branch information
heng30 committed Apr 22, 2024
1 parent 01ecbd5 commit f3a4211
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions ui/panel/bodyer/add.slint
Original file line number Diff line number Diff line change
Expand Up @@ -294,17 +294,17 @@ component AddEditBtns inherits HorizontalLayout {
callback cancel-clicked();
callback ok-clicked();

CancelBtn {
text: Logic.tr(Store.is-cn, "取消");
ConfirmBtn {
text: Logic.tr(Store.is-cn, "确认");
clicked => {
root.cancel-clicked();
root.ok-clicked();
}
}

ConfirmBtn {
text: Logic.tr(Store.is-cn, "确认");
CancelBtn {
text: Logic.tr(Store.is-cn, "取消");
clicked => {
root.ok-clicked();
root.cancel-clicked();
}
}
}
Expand Down

0 comments on commit f3a4211

Please sign in to comment.