Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Unsolved

    Call for Presentations - Qt World Summit

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

    QML and Qt Quick
    font family weight
    1
    1
    860
    Loading More Posts
    • 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.
    • qwasder85
      qwasder85 last edited by

      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 Reply Quote 0
      • First post
        Last post