adding a mechanism to ensure textsize based off size of slide
This commit is contained in:
parent
05c457be85
commit
b6e29352d9
1 changed files with 2 additions and 1 deletions
|
@ -131,7 +131,8 @@ Item {
|
|||
Controls.Label {
|
||||
id: lyrics
|
||||
text: root.text
|
||||
font.pixelSize: textSize
|
||||
/* text: root.width / textSize */
|
||||
font.pixelSize: root.width / root.textSize * 3
|
||||
/* minimumPointSize: 5 */
|
||||
fontSizeMode: Text.Fit
|
||||
font.family: chosenFont
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue