kivy: gui tweaks
This commit is contained in:
parent
bd9e4cc6cf
commit
bd34995d9d
|
@ -24,6 +24,23 @@
|
||||||
<ListItemButton>
|
<ListItemButton>
|
||||||
font_size: '12sp'
|
font_size: '12sp'
|
||||||
|
|
||||||
|
<Carousel>:
|
||||||
|
canvas.before:
|
||||||
|
Color:
|
||||||
|
rgba: 0.1, 0.1, 0.1, 1
|
||||||
|
Rectangle:
|
||||||
|
size: self.size
|
||||||
|
pos: self.pos
|
||||||
|
|
||||||
|
<ActionView>:
|
||||||
|
canvas.before:
|
||||||
|
Color:
|
||||||
|
rgba: 0.1, 0.1, 0.1, 1
|
||||||
|
Rectangle:
|
||||||
|
size: self.size
|
||||||
|
pos: self.pos
|
||||||
|
|
||||||
|
|
||||||
# Custom Global Widgets
|
# Custom Global Widgets
|
||||||
|
|
||||||
<TopLabel@Label>
|
<TopLabel@Label>
|
||||||
|
@ -184,7 +201,7 @@
|
||||||
|
|
||||||
|
|
||||||
<CleanHeader@TabbedPanelHeader>
|
<CleanHeader@TabbedPanelHeader>
|
||||||
border: 0, 0, 16, 0
|
border: 16, 0, 16, 0
|
||||||
markup: False
|
markup: False
|
||||||
text_size: self.size
|
text_size: self.size
|
||||||
halign: 'center'
|
halign: 'center'
|
||||||
|
@ -280,12 +297,9 @@ BoxLayout:
|
||||||
id: action_status
|
id: action_status
|
||||||
important: True
|
important: True
|
||||||
size_hint: 1, 1
|
size_hint: 1, 1
|
||||||
markup: True
|
|
||||||
mipmap: True
|
|
||||||
bold: True
|
bold: True
|
||||||
markup: True
|
color: 0.7, 0.7, 0.7, 1
|
||||||
color: 1, 1, 1, 1
|
text: app.status
|
||||||
text: "[color=#777777]"+app.status+"[/color]"
|
|
||||||
font_size: '22dp'
|
font_size: '22dp'
|
||||||
minimum_width: '1dp'
|
minimum_width: '1dp'
|
||||||
on_release: app.popup_dialog('status')
|
on_release: app.popup_dialog('status')
|
||||||
|
|
Binary file not shown.
Before Width: | Height: | Size: 3.0 KiB After Width: | Height: | Size: 2.7 KiB |
|
@ -38,7 +38,7 @@ Popup:
|
||||||
TopLabel:
|
TopLabel:
|
||||||
text: root.description
|
text: root.description
|
||||||
TopLabel:
|
TopLabel:
|
||||||
text: _('Status') if popup.amount or popup.is_invoice else _('Amount received')
|
text: (_('Status') if popup.amount or popup.is_invoice else _('Amount received')) if root.status else ''
|
||||||
TopLabel:
|
TopLabel:
|
||||||
text: root.status
|
text: root.status
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue