Qt Forum

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

    Update: Forum Guidelines & Code of Conduct


    Qt World Summit: Early-Bird Tickets

    Unsolved Rectangle mit einem Gitter versehen und innen drin mehrere Tabbutton (qml)

    German
    1
    1
    176
    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.
    • G
      Galilio last edited by

      Hallo Zusammen,

      wie kann ich so was (sehe bitte Anhang) in qml programmieren?
      2020-09-08_14h48_49.png
      folgende habe ich versucht:

      Rectangle {
      	width:rooId.width
      	height: 600
      	x:20
      	color: "blue" 
      
      	TabBar {
      		width: parent.width
      		spacing: 10
      		background: Rectangle {
      			color: "#5894CE"
      		}
      		
      		TabButton {
      			text: "Home"
      			height: 120
      		}
      		TabButton {
      			text: "Discover"
      			height: 120
      		}
      		TabButton {
      			text: "Activity"
      			height: 120
      
      		}
      		TabButton {
      			text: "Fourth"
      			height: 120
      		}
      	}
      }
      

      danke

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