BoxLayout:
orientation:'vertical'
size_hint:(1,None)#go all the way in width but only as far as you need in y
Slider:
size_hint:(1,None)
BoxLayout:
orientation: 'horizontal'
padding: 0
size_hint:(None,None)
Label:
size_hint: (None,None)
text: 'My Label for the Checkbox'
canvas:
Color:
rgba:1,1,1,0.2
Rectangle:
pos:self.pos
size:self.size
CheckBox:
size_hint: (None,None)
canvas:
Color:
rgba:1,0,0,0.2
Rectangle:
pos:self.pos
size:self.size
Slider:
size_hint:(1,None)
BoxLayout:
orientation:'vertical'
size_hint:(1,None)#go all the way in width but only as far as you need in y
Slider:
size_hint:(1,None)
BoxLayout:
orientation: 'horizontal'
padding: 0
size_hint:(None,None)
Label:
size_hint: (None,None)
text: 'My Label for the Checkbox'
width: self.texture_size[0]
BoxLayout:
orientation:"vertical"
canvas:
Color:
rgb:0.2,0.2,0.2
Rectangle:
pos:self.pos
size:self.size
Label:
size_hint:(1,None)
height:self.texture_size[1]
text: "Selection Panel"
BoxLayout:
orientation: 'horizontal'
size_hint:(1,None)
canvas:
Color:
rgba: 1,0,0,0.2
Rectangle:
pos:self.pos
size:self.size
Button:
size_hint:(0.7,None)
height:50
background_color: 1,1,1,1
background_normal:''
Button:
size_hint:(0.3,None)
height:50
background_color: 1,0,0,1
background_normal:''
|
|
AnchorLayout:
anchor_y: 'top'
BoxLayout:
size_hint:(1, 50.0/root.height)
orientation:"vertical"
canvas:
Color:
rgb:0.2,0.2,0.2
Rectangle:
pos:self.pos
size:self.size
Label:
size_hint:(1, self.texture_size[1]/float(self.parent.height))
text: "Selection Panel"
BoxLayout:
orientation: 'horizontal'
canvas:
Color:
rgba: 1,0,0,0.2
Rectangle:
pos:self.pos
size:self.size
Button:
size_hint:(0.7, 1)
# height:50
background_color: 1,1,1,1
background_normal:''
Button:
size_hint:(0.3, 1)
# height:50
background_color: 1,0,0,1
background_normal:''