Implemented profile backup and export. Implemented window size following UI scaling factor.

This commit is contained in:
Mark Qvist 2025-11-02 00:00:38 +01:00
parent 9a3cda077c
commit 0a1be10411
2 changed files with 80 additions and 24 deletions

View file

@ -1153,7 +1153,7 @@ MDScreen:
MDLabel:
id: keys_info
id: backup_info
markup: True
text: ""
size_hint_y: None
@ -1170,6 +1170,25 @@ MDScreen:
size_hint: [1.0, None]
on_release: root.app.profile_backup_action(self)
MDRectangleFlatIconButton:
id: keys_restore
icon: "home-import-outline"
text: "Restore Sideband Profile"
disabled: True
padding: [dp(0), dp(14), dp(0), dp(14)]
icon_size: dp(24)
font_size: dp(16)
size_hint: [1.0, None]
on_release: root.app.profile_backup_action(self)
MDLabel:
id: keys_info
markup: True
text: ""
size_hint_y: None
text_size: self.width, None
height: self.texture_size[1]
MDRectangleFlatIconButton:
id: keys_display
icon: "eye"