kivy: improve checkbox_dialog layout
This commit is contained in:
@@ -11,24 +11,24 @@ Builder.load_string('''
|
|||||||
pos_hint: {'top':0.9}
|
pos_hint: {'top':0.9}
|
||||||
BoxLayout:
|
BoxLayout:
|
||||||
orientation: 'vertical'
|
orientation: 'vertical'
|
||||||
ScrollView:
|
Widget:
|
||||||
size_hint: 1, 1
|
size_hint: 1, 0.1
|
||||||
Label:
|
Label:
|
||||||
id: description
|
id: description
|
||||||
text: ''
|
text: ''
|
||||||
size_hint: 1, None
|
halign: 'left'
|
||||||
halign: 'left'
|
text_size: self.width, None
|
||||||
text_size: self.width, None
|
size: self.texture_size
|
||||||
BoxLayout:
|
BoxLayout:
|
||||||
orientation: 'horizontal'
|
orientation: 'horizontal'
|
||||||
size_hint: 1, 0.5
|
size_hint: 1, 0.2
|
||||||
Label:
|
Label:
|
||||||
text: _('Enable')
|
text: _('Enable')
|
||||||
CheckBox:
|
CheckBox:
|
||||||
id:cb
|
id:cb
|
||||||
BoxLayout:
|
BoxLayout:
|
||||||
orientation: 'horizontal'
|
orientation: 'horizontal'
|
||||||
size_hint: 1, 0.5
|
size_hint: 1, 0.2
|
||||||
Button:
|
Button:
|
||||||
text: 'Cancel'
|
text: 'Cancel'
|
||||||
size_hint: 0.5, None
|
size_hint: 0.5, None
|
||||||
|
|||||||
Reference in New Issue
Block a user