for QFontMetrics' API, but I'm just throwing
> ideas around. :)
>
>
> From: Harri Pasanen
> Sent: Thursday, 29 January 2015 21:12
> To: Curtis Mitch; interest@qt-project.org
> Subject: Re: [Interest] QML Text.Fit question
>
> We'll putting on my de
__
From: Harri Pasanen
Sent: Thursday, 29 January 2015 21:12
To: Curtis Mitch; interest@qt-project.org
Subject: Re: [Interest] QML Text.Fit question
We'll putting on my designer classes here:
Imagine I have a rectangle on screen, let's say a sign to a shop.
I want to have the ti
__
> From: Harri Pasanen
> Sent: Wednesday, 28 January 2015 15:48
> To: Curtis Mitch; interest@qt-project.org
> Subject: Re: [Interest] QML Text.Fit question
>
> On 28/01/2015 13:25, Curtis Mitch wrote:
>> Why do you need to know the size
2015 15:48
To: Curtis Mitch; interest@qt-project.org
Subject: Re: [Interest] QML Text.Fit question
On 28/01/2015 13:25, Curtis Mitch wrote:
> Why do you need to know the size of the text?
I work mostly in mobile space where the size, resolution and pixel
densities vary greatly between displays.
On 28/01/2015 13:25, Curtis Mitch wrote:
> Why do you need to know the size of the text?
I work mostly in mobile space where the size, resolution and pixel
densities vary greatly between displays.
If one wants to automate layout so that it remains usable (even if not
"artful" in all cases), one
t; Subject: [Interest] QML Text.Fit question
>
> If in QML Text item I use Text.Fit size, like
>
> Text {
> id: st
> anchors.centerIn. parent
> width: 200
> height: 100
> fontSizeMode: Text.Fit
> minimumPointSize: 6
>
If in QML Text item I use Text.Fit size, like
Text {
id: st
anchors.centerIn. parent
width: 200
height: 100
fontSizeMode: Text.Fit
minimumPointSize: 6
font.pointSize: 120
text: "Size me if you can!"
}
That works ok. But I did not find a way to query the