Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. specifying height width versus using anchors.fill

specifying height width versus using anchors.fill

Scheduled Pinned Locked Moved Solved General and Desktop
2 Posts 2 Posters 197 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.
  • C Offline
    C Offline
    Circuits
    wrote on last edited by
    #1

    Is there a difference between saying:

    height: parent.height
    width: parent.width
    

    and saying:

    anchors.fill: parent
    
    ODБOïO 1 Reply Last reply
    0
    • C Circuits

      Is there a difference between saying:

      height: parent.height
      width: parent.width
      

      and saying:

      anchors.fill: parent
      
      ODБOïO Offline
      ODБOïO Offline
      ODБOï
      wrote on last edited by
      #2

      hi @Circuits
      @Circuits said in specifying height width versus using anchors.fill:

      Is there a difference between saying:
      height: parent.height
      width: parent.width

      and saying:
      anchors.fill: paren

      i would say everything is different except the visual aspect if there is one

      1 Reply Last reply
      1

      • Login

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