Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-87826

[SplitView] Make hit testing for handle bigger than handle content size

    XMLWordPrintable

Details

    • Suggestion
    • Resolution: Duplicate
    • Not Evaluated
    • None
    • 5.15.1
    • Quick: Controls 2
    • None
    • All

    Description

      I want to make split width 1px, just solid black line, and in this case, hitting into a zone of 1px width will be very difficult. It was great to be able to adjust the width of the hit area larger than the handle content size, but now it is not possible to do.

      This behaviour is inherent in many editors, like VSCode and other, where the split is made by one vertical line.

      My suggestion, add a new property, for example handleOversize which will add extra space for hover and press events to handle.

      I am currently preparing a patch for this. Works great for me, but I'm still testing it.

      Attachments

        Issue Links

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

              qt.team.quick.subscriptions Qt Quick and Widgets Team
              freed Igor Bugaev
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes