Browse Source

kivy: cleanup dead code

283
ThomasV 9 years ago
parent
commit
45618b2a8e
  1. 28
      gui/kivy/main.kv
  2. 6
      gui/kivy/uix/ui_screens/invoices.kv
  3. 6
      gui/kivy/uix/ui_screens/requests.kv

28
gui/kivy/main.kv

@ -19,34 +19,6 @@
height: self.minimum_height
<BlueSpinner@BoxLayout>
foreground_color: 1, 1, 1, 1
spacing: '9dp'
text: ''
values: ('', )
icon: ''
Image:
source: root.icon
size_hint: None, None
size: '22dp', '22dp'
pos_hint: {'center_y': .5}
OppositeSpinner:
color: root.foreground_color
background_normal: 'atlas://gui/kivy/theming/light/action_group_light'
markup: False
shorten: True
font_size: '16dp'
size_hint: 1, .7
pos_hint: {'center_y': .5}
text: root.text
text_size: self.size
halign: 'left'
valign: 'middle'
on_text:
root.text = args[1]
values: root.values
<IconButton@ButtonBehavior+Image>
allow_stretch: True
size_hint_x: None

6
gui/kivy/uix/ui_screens/invoices.kv

@ -44,12 +44,6 @@ InvoicesScreen:
orientation: 'vertical'
spacing: '1dp'
ScrollView:
canvas.before:
Color:
rgba: .8901, .8901, .8901, 0
Rectangle:
size: self.size
pos: self.pos
GridLayout:
cols: 1
id: invoices_container

6
gui/kivy/uix/ui_screens/requests.kv

@ -45,12 +45,6 @@ RequestsScreen:
orientation: 'vertical'
spacing: '1dp'
ScrollView:
canvas.before:
Color:
rgba: .8901, .8901, .8901, 0
Rectangle:
size: self.size
pos: self.pos
GridLayout:
cols: 1
id: requests_container

Loading…
Cancel
Save