forked from qt-creator/qt-creator
Change welcome page tab highlighting
Change-Id: I5005f451eeed5b3d1280312f28878caa6985199b Reviewed-on: http://codereview.qt.nokia.com/1444 Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Daniel Molkentin <daniel.molkentin@nokia.com>
This commit is contained in:
committed by
Daniel Molkentin
parent
668bfe69de
commit
28bdff7350
@@ -50,28 +50,34 @@ Image {
|
||||
anchors.bottom: feedback.top
|
||||
anchors.margins: 10
|
||||
|
||||
BorderImage {
|
||||
Item {
|
||||
id: news
|
||||
opacity: 0.7
|
||||
source: "qrc:welcome/images/rc_combined.png"
|
||||
border.left: 5; border.top: 5
|
||||
border.right: 5; border.bottom: 5
|
||||
anchors.top: parent.top
|
||||
anchors.bottom: parent.bottom
|
||||
anchors.left: parent.left
|
||||
anchors.rightMargin: 5
|
||||
width: 270
|
||||
BorderImage {
|
||||
anchors.fill: parent
|
||||
opacity: 0.7
|
||||
source: "qrc:welcome/images/rc_combined.png"
|
||||
border.left: 5; border.top: 5
|
||||
border.right: 5; border.bottom: 5
|
||||
}
|
||||
FeaturedAndNewsListing {
|
||||
anchors.fill: parent
|
||||
anchors.margins: 8
|
||||
}
|
||||
}
|
||||
|
||||
BorderImage {
|
||||
Item {
|
||||
id: tabFrame
|
||||
source: "qrc:welcome/images/rc_combined_transparent.png"
|
||||
border.left: 5; border.top: 5
|
||||
border.right: 5; border.bottom: 5
|
||||
BorderImage {
|
||||
anchors.fill: parent
|
||||
source: "qrc:welcome/images/rc_combined_transparent.png"
|
||||
border.left: 5; border.top: 5
|
||||
border.right: 5; border.bottom: 5
|
||||
}
|
||||
|
||||
anchors.top: parent.top
|
||||
anchors.bottom: parent.bottom
|
||||
|
||||
@@ -57,7 +57,7 @@ Row {
|
||||
anchors.fill: parent
|
||||
text: model.modelData.title
|
||||
elide: Text.ElideRight
|
||||
color: "white"
|
||||
color: "black"
|
||||
}
|
||||
MouseArea {
|
||||
id: mouseArea
|
||||
@@ -69,7 +69,7 @@ Row {
|
||||
State {
|
||||
id: activeState; when: tabBar.current == index
|
||||
PropertyChanges { target: tabBackground; source:"qrc:welcome/images/tab_active.png" }
|
||||
PropertyChanges { target: text; color: "black" }
|
||||
PropertyChanges { target: text; color: "white" }
|
||||
},
|
||||
State {
|
||||
id: hoverState; when: mouseArea.containsMouse
|
||||
|
||||
Binary file not shown.
|
Before Width: | Height: | Size: 213 B After Width: | Height: | Size: 196 B |
Binary file not shown.
|
Before Width: | Height: | Size: 222 B After Width: | Height: | Size: 211 B |
Binary file not shown.
|
Before Width: | Height: | Size: 196 B After Width: | Height: | Size: 213 B |
Reference in New Issue
Block a user