Qt Forum

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

    Unsolved Quick Controls 2 - Material - Label inside text field

    QML and Qt Quick
    2
    2
    305
    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.
    • D
      dagheyman last edited by

      Material Design defines a Label inside a text field to inform what information is requested. See: https://material.io/design/components/text-fields.html#anatomy

      Is this a planned feature of the Material Style of Qt Quick Controls 2, or do anyone have a suggestion on how to implement this in a good way?

      ekkescorner 1 Reply Last reply Reply Quote 0
      • ekkescorner
        ekkescorner Qt Champions 2016 @dagheyman last edited by

        @dagheyman have you tried to position a Label with z:2 on top of TextField ?

        ekke
        Qt Champion
        mobile business apps
        Qt Quick Controls 2 (Material style) for Android / iOS

        1 Reply Last reply Reply Quote 0
        • First post
          Last post