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. Text box in group box.
QtWS25 Last Chance

Text box in group box.

Scheduled Pinned Locked Moved QML and Qt Quick
3 Posts 3 Posters 1.3k Views
  • 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.
  • R Offline
    R Offline
    Rupesh
    wrote on last edited by
    #1

    Hey there, another newbie question….

    My requirement is to create a group box that is divided into two parts,both part contains separate test boxes (Some text displayed over there).
    plz help me to achive this.

    1 Reply Last reply
    0
    • A Offline
      A Offline
      andre
      wrote on last edited by
      #2

      What have you tried so far? What did not work?

      1 Reply Last reply
      0
      • B Offline
        B Offline
        beemaster
        wrote on last edited by
        #3

        Something like this?
        @
        import QtQuick 1.1

        Item {
        width: 210
        height: 100

        Row {
            spacing: 10
        
            Rectangle {
                width: 100
                height: 100
                color: "lightblue"
                Text {
                    anchors.centerIn: parent
                    text: "Hello"
                }
            }
        
            Rectangle {
                width: 100
                height: 100
                color: "lightblue"
                Text {
                    anchors.centerIn: parent
                    text: "World"
                }
            }
        }
        

        }
        @
        !https://dl.dropbox.com/u/21467/opengl/6.png(Preview)!

        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