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. Trying to apply LayoutMirroring property on Slider, but it is not working
Forum Update on Monday, May 27th 2025

Trying to apply LayoutMirroring property on Slider, but it is not working

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

    import QtQuick.Window 2.15
    import QtQuick 2.0
    import QtQuick.Controls.Styles 1.4
    import QtQuick.Controls 2.3
    import QtQuick 2.14
    import QtQuick.Controls 1.4 as QQC1
    import QtQuick.Controls 2.14 as QQC2
    import QtQuick.Layouts 1.3
    Window {
    id:_root
    width: 640
    height: 480
    visible: true
    title: qsTr("Hello World")
    LayoutMirroring.enabled: true
    LayoutMirroring.childrenInherit: true
    QQC1.Slider {
    id:new_slider
    Layout.alignment: Qt.AlignVCenter
    maximumValue: 400
    minimumValue: 0
    value: 0
    stepSize:1
    style: SliderStyle {
    groove: Rectangle {
    implicitWidth: 200
    implicitHeight: 8
    color: "grey"
    radius: 8
    }
    handle: Rectangle {
    anchors.centerIn: parent
    color:"#3498DB"
    implicitWidth: 55//95
    implicitHeight: 55//95
    radius: implicitHeight/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