kivy: improve layout
This commit is contained in:
@@ -8,6 +8,7 @@ Builder.load_string('''
|
|||||||
id: popup
|
id: popup
|
||||||
title: ''
|
title: ''
|
||||||
size_hint: 0.8, 0.3
|
size_hint: 0.8, 0.3
|
||||||
|
pos_hint: {'top':0.9}
|
||||||
BoxLayout:
|
BoxLayout:
|
||||||
orientation: 'vertical'
|
orientation: 'vertical'
|
||||||
Widget:
|
Widget:
|
||||||
|
|||||||
@@ -51,6 +51,7 @@ ReceiveScreen:
|
|||||||
BoxLayout:
|
BoxLayout:
|
||||||
size_hint: 1, None
|
size_hint: 1, None
|
||||||
height: blue_bottom.item_height
|
height: blue_bottom.item_height
|
||||||
|
spacing: '5dp'
|
||||||
Image:
|
Image:
|
||||||
source: 'atlas://gui/kivy/theming/light/globe'
|
source: 'atlas://gui/kivy/theming/light/globe'
|
||||||
size_hint: None, None
|
size_hint: None, None
|
||||||
|
|||||||
@@ -23,6 +23,7 @@ SendScreen:
|
|||||||
id: blue_bottom
|
id: blue_bottom
|
||||||
size_hint: 1, None
|
size_hint: 1, None
|
||||||
height: self.minimum_height
|
height: self.minimum_height
|
||||||
|
spacing: '5dp'
|
||||||
BoxLayout:
|
BoxLayout:
|
||||||
size_hint: 1, None
|
size_hint: 1, None
|
||||||
height: blue_bottom.item_height
|
height: blue_bottom.item_height
|
||||||
@@ -42,6 +43,7 @@ SendScreen:
|
|||||||
BoxLayout:
|
BoxLayout:
|
||||||
size_hint: 1, None
|
size_hint: 1, None
|
||||||
height: blue_bottom.item_height
|
height: blue_bottom.item_height
|
||||||
|
spacing: '5dp'
|
||||||
Image:
|
Image:
|
||||||
source: 'atlas://gui/kivy/theming/light/globe'
|
source: 'atlas://gui/kivy/theming/light/globe'
|
||||||
size_hint: None, None
|
size_hint: None, None
|
||||||
@@ -52,13 +54,11 @@ SendScreen:
|
|||||||
default_text: _('Amount')
|
default_text: _('Amount')
|
||||||
text: s.amount if s.amount else _('Amount')
|
text: s.amount if s.amount else _('Amount')
|
||||||
on_release: app.amount_dialog(s, True)
|
on_release: app.amount_dialog(s, True)
|
||||||
|
|
||||||
CardSeparator:
|
CardSeparator:
|
||||||
opacity: message_selection.opacity
|
opacity: message_selection.opacity
|
||||||
color: blue_bottom.foreground_color
|
color: blue_bottom.foreground_color
|
||||||
BoxLayout:
|
BoxLayout:
|
||||||
id: message_selection
|
id: message_selection
|
||||||
opacity: 1
|
|
||||||
size_hint: 1, None
|
size_hint: 1, None
|
||||||
height: blue_bottom.item_height
|
height: blue_bottom.item_height
|
||||||
spacing: '5dp'
|
spacing: '5dp'
|
||||||
|
|||||||
Reference in New Issue
Block a user