Harmattan ToolBar with PageStack transition's color problem



  • Hi, I have a problem using a two ToolBars, I don't know if it's the right way to do it, I want to get a black tool bar (inverted theme) it works, but when the transition it's on, the color changes to normal theme.

    This is how the tool bars are defined:
    @
    ToolBar{
    id: mainToolBar
    visible: true
    platformStyle: ToolBarStyle {
    background: "image://theme/meegotouch-toolbar-"+((screen.currentOrientation == Screen.Portrait||screen.currentOrientation==Screen.PortraitInverted)?"portrait":"landscape")+"-inverted-background"
    }

        ToolIcons..
    }
    
    ToolBar{
        id: settingsToolBar
        visible: false
        platformStyle: ToolBarStyle {
            background: "image://theme/meegotouch-toolbar-"+((screen.currentOrientation == Screen.Portrait||screen.currentOrientation==Screen.PortraitInverted)?"portrait":"landscape")+"-inverted-background"
        }
        ToolIcons..
    }
    

    @

    Thanks!


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.