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. Removing shadow from Tumbler Qml control
QtWS25 Last Chance

Removing shadow from Tumbler Qml control

Scheduled Pinned Locked Moved QML and Qt Quick
tumblerqmlshadowqt quick extras
3 Posts 2 Posters 1.6k 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.
  • C Offline
    C Offline
    Cris
    wrote on 5 Oct 2015, 11:49 last edited by Cris 10 May 2015, 11:54
    #1

    Hello,

    How can I remove the shadow from Tumbler control? Is it possible? It appears near the border and adds 3D look, but I would like to remove it and leave only single line border...Tried setting different properties like background, foreground, frame etc but nothing helped.

    Thanks in advance
    Chris

    H 1 Reply Last reply 5 Oct 2015, 12:27
    0
    • C Cris
      5 Oct 2015, 11:49

      Hello,

      How can I remove the shadow from Tumbler control? Is it possible? It appears near the border and adds 3D look, but I would like to remove it and leave only single line border...Tried setting different properties like background, foreground, frame etc but nothing helped.

      Thanks in advance
      Chris

      H Offline
      H Offline
      hpollak
      wrote on 5 Oct 2015, 12:27 last edited by
      #2

      @Cris

      I think you can do this with style Property.

      QtQuick Controls Style

      C 1 Reply Last reply 5 Oct 2015, 12:48
      0
      • H hpollak
        5 Oct 2015, 12:27

        @Cris

        I think you can do this with style Property.

        QtQuick Controls Style

        C Offline
        C Offline
        Cris
        wrote on 5 Oct 2015, 12:48 last edited by
        #3

        @hpollak

        As I mentioned, I tried assigning different Tumbler style properties like:
        background: Rectangle
        {
        color: white
        }

        and the same with foreground and frame style components
        I also tried to set border.width to 0 and still I got this shadow near the borders

        1 Reply Last reply
        0

        1/3

        5 Oct 2015, 11:49

        • Login

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