Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. QML and Qt Quick
  4. Using "Light" font weight from a font family doesn't work
Forum Updated to NodeBB v4.3 + New Features

Using "Light" font weight from a font family doesn't work

Scheduled Pinned Locked Moved QML and Qt Quick
fontfamilyweight
1 Posts 1 Posters 1.1k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • qwasder85Q Offline
    qwasder85Q Offline
    qwasder85
    wrote on last edited by
    #1

    Hi all,
    I'm trying to use the "Segoe UI Light" type of the "SegoeUI" font family in my application, but I don't know how to do it.
    I tried all types of "font.weight" and it doesn't change, I can only get it to look "Normal" or "Bold".
    The font is installed on my PC, is there a way to directly reference the light font instead of the whole family?

    Text
    {
        ...
        text: "Test"
        font.family: "SegoeUI"
        font.weight: Font.Thin    // also tried Font.Light and Font.UltraLight
    }
    
    1 Reply Last reply
    0

    • Login

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Get Qt Extensions
    • Unsolved