Skip to content

Commit

Permalink
fixed size of CAN input text to 200px
Browse files Browse the repository at this point in the history
  • Loading branch information
TuEmb committed Sep 20, 2024
1 parent afa9fea commit ba0c3c8
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions ui/debug_page.slint
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,7 @@ export component CanTransmitData inherits Rectangle {
text: "Extended Frame";
}
can_id := LineEdit {
width: 200px;
placeholder-text: "ID (hex) - eg: 1814FF12";
edited => {
can_id_check = can_id_check_string(is_extended.checked, can_id.text);
Expand All @@ -73,6 +74,7 @@ export component CanTransmitData inherits Rectangle {
is_ok: can_id_check;
}
can_data := LineEdit {
width: 200px;
placeholder-text: "data (hex) - eg: 1A2B3C4D";
edited => {
can_data_check = can_data_check_string(can_data.text);
Expand Down

0 comments on commit ba0c3c8

Please sign in to comment.