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. Macos theme 6.9.2 to 6.10 broken?
Forum Updated to NodeBB v4.3 + New Features

Macos theme 6.9.2 to 6.10 broken?

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

    Hi,

    Using the following palette on MacOS Tahoe 26.1:

    SystemPalette {
            id: palette
            colorGroup: SystemPalette.Active
        }
    

    On 6.9.x, using the code for the bottom chatbox input:

    Rectangle {
                    id: inputBox
                    anchors.fill: parent
                    color: palette.window
                    radius: 12
                    border.color: palette.midlight
                    border.width: 1
    
                    // TextArea content
                    TextArea {
                        id: promptField
                        anchors.fill: parent
                        anchors.margins: 8
                        background: null
                        color: palette.text
                        wrapMode: TextArea.Wrap
                        placeholderText: "e.g., Find Python devs in Germany with 3+ years"
                        padding: 8
                        rightPadding: sendBtn.width + 16
    
                        Keys.onReturnPressed: function(event) {
                            if (!event.isAutoRepeat && (event.modifiers & Qt.ShiftModifier) === 0) {
                                sendBtn.clicked()
                                event.accepted = true
                            }
                        }
                    }
    
                    // Send button inside the TextArea
                    Button {
                        id: sendBtn
                        text: "⏎"
                        anchors.right: parent.right
                        anchors.bottom: parent.bottom
                        anchors.margins: 8
                        width: 45
                        height: 37
                        font.pixelSize: 18
                    }
                }
    

    I would get something like:
    fc1f22df-f55a-451b-9131-50b0cdbb3f5c-image.png

    But with the same code now built with 6.10, I get:
    711b6bfc-ac10-4d2a-be89-4ccc8f0129c8-image.png

    Why are now all palette colors white? where are the shades of gray in the system theme?

    Raul Guerrero
    http://jimi.mx

    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