mirror of https://github.com/kivy/kivy.git
makes the "this label fits to the content" really fit to the content
This commit is contained in:
parent
1ac5d8b928
commit
a4f1ffde7a
|
@ -313,6 +313,8 @@
|
|||
title: 'Panel 1'
|
||||
Label:
|
||||
text: 'This is a label fit to the content view'
|
||||
halign: 'center'
|
||||
text_size: self.width, None
|
||||
|
||||
AccordionItem:
|
||||
title: 'Panel 2'
|
||||
|
@ -323,6 +325,8 @@
|
|||
title: 'Panel 3'
|
||||
Label:
|
||||
text: 'This is a label fit to the content view'
|
||||
halign: 'center'
|
||||
text_size: self.width, None
|
||||
|
||||
|
||||
Accordion:
|
||||
|
@ -333,6 +337,7 @@
|
|||
title: 'Panel 1'
|
||||
Label:
|
||||
text: 'This is a label fit to the content view'
|
||||
text_size: self.width, None
|
||||
|
||||
AccordionItem:
|
||||
title: 'Panel 2'
|
||||
|
@ -343,6 +348,7 @@
|
|||
title: 'Panel 3'
|
||||
Label:
|
||||
text: 'This is a label fit to the content view'
|
||||
text_size: self.width, None
|
||||
|
||||
|
||||
VSeparator
|
||||
|
|
Loading…
Reference in New Issue