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. Child Element of SplitView overriding SplitView functionality
Forum Updated to NodeBB v4.3 + New Features

Child Element of SplitView overriding SplitView functionality

Scheduled Pinned Locked Moved Unsolved QML and Qt Quick
1 Posts 1 Posters 129 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.
  • T Offline
    T Offline
    TSqueak
    wrote on last edited by
    #1

    I have a SplitView that contains a Camera object that is larger than the actual SplitView (it's a scene that supports panning) and when the Camera object is larger than the SplitView it makes the SplitView bar become disabled but still visible despite the fact that the Camera object is "behind" the SplitView. Any thoughts?

    SplitView {

        id: splitView 
        orientation: Qt.Horizontal
        width: parent.width
        height: parent.height
    
        Rectangle {
            Layout.fillWidth: true
            Layout.fillHeight: true
            SplitView.preferredWidth: parent.width * 0.80
            SplitView.minimumWidth: parent.width * 0.50
    
            Camera {    
                width: 10000
                height: 10000
                x: -((width - parent.width)/2)
                y: -((height - parent.height)/2)
            }
        }
    

    ...
    }

    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