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. SplitView - handle custom MouseArea
Forum Update on Monday, May 27th 2025

SplitView - handle custom MouseArea

Scheduled Pinned Locked Moved Unsolved QML and Qt Quick
1 Posts 1 Posters 233 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.
  • M Offline
    M Offline
    Matthaus
    wrote on 15 Jun 2020, 17:09 last edited by
    #1

    Hey Qt devs,
    I am facing a challenge with customizing a SplitView handle. Visually it requires a width of 2 to display a thin line between two containers. The problem is that the MouseArea where the user is clicking to drag has also a with by 2, which is of course too small. I tried multiple approaches like adding a MouseArea with a width of 12 as a child and playing around with the z-parameter but nothing worked.
    Is there a way to attach a custom MouseArea with a greater width than the handle itself?

    Greetings
    Matthäus

    1 Reply Last reply
    0

    1/1

    15 Jun 2020, 17:09

    • Login

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