[Interest] qt.labs.controls - Material - Fonts

ekke ekke at ekkes-corner.org
Wed Apr 13 19:54:15 CEST 2016


Am 13.04.16 um 19:46 schrieb Nikita Krupenko:
> 2016-04-13 20:33 GMT+03:00 ekke <ekke at ekkes-corner.org>:
>> Am 13.04.16 um 19:02 schrieb Nikita Krupenko:
>>> 2016-04-13 0:35 GMT+03:00 ekke <ekke at ekkes-corner.org>:
>>>> I'm looking HowTo get the right font styles for Material Display,
>>>> Headline, Title, Subheading, Body
>>>>
>>>> Are there any hints about available font.family and preffered sizes to
>>>> follow
>>>> https://www.google.com/design/spec/style/typography.html#typography-styles
>>> Controls from Material theme should have proper fonts in most cases.
>>> If they hasn't - don't hesitate to file a bug ;)
>> already did this and JP Nurmi already fixed :)
>> fonts are looking great
>>
>> but per ex. Label can be used for body text, subheading etc. so I have
>> to create my own for this
> If you using Material style, font (Roboto/Noto) would be already set,
thx for info
> so you can just do
>
> Label {
>     font.pixelSize: 16
> }
>
> to create label with subheading font.
cool
will define my SubheadingLabel etc

thx

ekke



More information about the Interest mailing list