mirror of
https://github.com/markqvist/Sideband.git
synced 2025-12-09 22:05:48 -05:00
Implemented profile backup and export. Implemented window size following UI scaling factor.
This commit is contained in:
parent
9a3cda077c
commit
0a1be10411
2 changed files with 80 additions and 24 deletions
|
|
@ -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"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue