commit 62711ad5119f7e91eeb72da70af34539b0bd66b9
parent ccff1c2a88d019c1b02c1e3fc87b6a2c3b8f507a
Author: ThomasV <thomasv@electrum.org>
Date: Thu, 11 Feb 2016 10:08:59 +0100
kivy: improve checkbox_dialog layout
Diffstat:
1 file changed, 10 insertions(+), 10 deletions(-)
diff --git a/gui/kivy/uix/dialogs/checkbox_dialog.py b/gui/kivy/uix/dialogs/checkbox_dialog.py
@@ -11,24 +11,24 @@ Builder.load_string('''
pos_hint: {'top':0.9}
BoxLayout:
orientation: 'vertical'
- ScrollView:
- size_hint: 1, 1
- Label:
- id: description
- text: ''
- size_hint: 1, None
- halign: 'left'
- text_size: self.width, None
+ Widget:
+ size_hint: 1, 0.1
+ Label:
+ id: description
+ text: ''
+ halign: 'left'
+ text_size: self.width, None
+ size: self.texture_size
BoxLayout:
orientation: 'horizontal'
- size_hint: 1, 0.5
+ size_hint: 1, 0.2
Label:
text: _('Enable')
CheckBox:
id:cb
BoxLayout:
orientation: 'horizontal'
- size_hint: 1, 0.5
+ size_hint: 1, 0.2
Button:
text: 'Cancel'
size_hint: 0.5, None