adding a mechanism to ensure textsize based off size of slide

This commit is contained in:
Chris Cochrun 2022-09-16 16:13:32 -05:00
parent 05c457be85
commit b6e29352d9

View file

@ -131,7 +131,8 @@ Item {
Controls.Label { Controls.Label {
id: lyrics id: lyrics
text: root.text text: root.text
font.pixelSize: textSize /* text: root.width / textSize */
font.pixelSize: root.width / root.textSize * 3
/* minimumPointSize: 5 */ /* minimumPointSize: 5 */
fontSizeMode: Text.Fit fontSizeMode: Text.Fit
font.family: chosenFont font.family: chosenFont