ScrollView in SplitView : How to design Scrollbar in SplitView?



  • Hello,
    Trying to design Slitter with Scrollbar in it.. I used ScrollView .
    When I used ScrollView inside SplitView then SplitView Properties like Layout miniwidth etc..is not working...
    For Example:
    anchors.fill: parent
    orientation: Qt.Horizontal
    ScrollView{
    Rectangle{
    id:fwindow
    width: 150
    Layout.minimumWidth: 80 // not working
    Layout.maximumWidth: 500//not working

         color: "lightgreen"
         Text{
             text: "First window"
             anchors.centerIn: parent
         }
    
     }
    

    }
    }


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.