forked from qt-creator/qt-creator
Remove empty tab above news section.
Change-Id: I5f7a05ebc7f7c44d55e916fec02eec7420b83f1d Reviewed-on: http://codereview.qt.nokia.com/1921 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
409ed3b275
commit
8f95fb4996
@@ -62,22 +62,11 @@ Rectangle {
|
|||||||
border.bottom: 10
|
border.bottom: 10
|
||||||
}
|
}
|
||||||
|
|
||||||
BorderImage {
|
|
||||||
id: deadArea
|
|
||||||
anchors.left: parent.left
|
|
||||||
anchors.top: inner_background.bottom
|
|
||||||
anchors.topMargin: -2
|
|
||||||
width: news.width
|
|
||||||
height: navigationAndDevLinks.height
|
|
||||||
border { top: 1; bottom: 1}
|
|
||||||
source: "qrc:welcome/images/tab_inactive.png"
|
|
||||||
Rectangle { anchors.right: parent.right; height: parent.height; y:0; width: 1; color: "black"}
|
|
||||||
}
|
|
||||||
LinksBar {
|
LinksBar {
|
||||||
id: navigationAndDevLinks
|
id: navigationAndDevLinks
|
||||||
property alias current: root.current
|
property alias current: root.current
|
||||||
anchors.top: inner_background.bottom
|
anchors.top: inner_background.bottom
|
||||||
anchors.left: deadArea.right
|
anchors.left: news.right
|
||||||
anchors.right: parent.right
|
anchors.right: parent.right
|
||||||
anchors.bottomMargin: 4
|
anchors.bottomMargin: 4
|
||||||
anchors.topMargin: -2
|
anchors.topMargin: -2
|
||||||
@@ -88,7 +77,7 @@ Rectangle {
|
|||||||
color: "#eee"
|
color: "#eee"
|
||||||
id: news
|
id: news
|
||||||
opacity: 0.7
|
opacity: 0.7
|
||||||
anchors.top: navigationAndDevLinks.bottom
|
anchors.top: navigationAndDevLinks.top
|
||||||
anchors.bottom: feedback.top
|
anchors.bottom: feedback.top
|
||||||
anchors.left: parent.left
|
anchors.left: parent.left
|
||||||
width: 270
|
width: 270
|
||||||
@@ -96,19 +85,26 @@ Rectangle {
|
|||||||
anchors.fill: parent
|
anchors.fill: parent
|
||||||
}
|
}
|
||||||
Rectangle {
|
Rectangle {
|
||||||
|
anchors.left: parent.left
|
||||||
anchors.right: parent.right
|
anchors.right: parent.right
|
||||||
anchors.top: parent.top
|
anchors.top: parent.top
|
||||||
anchors.bottom: parent.bottom
|
height: 1
|
||||||
width:1
|
color: "black"
|
||||||
color: "#aaa"
|
}
|
||||||
|
Rectangle {
|
||||||
|
anchors.left: parent.left
|
||||||
|
anchors.right: parent.right
|
||||||
|
anchors.top: parent.top
|
||||||
|
anchors.topMargin: 1
|
||||||
|
height: 1
|
||||||
|
color: "#ccc"
|
||||||
}
|
}
|
||||||
Rectangle{
|
Rectangle{
|
||||||
anchors.right: parent.right
|
anchors.right: parent.right
|
||||||
anchors.top: parent.top
|
anchors.top: parent.top
|
||||||
anchors.bottom: parent.bottom
|
anchors.bottom: parent.bottom
|
||||||
anchors.rightMargin: 1
|
|
||||||
width:1
|
width:1
|
||||||
color: "white"
|
color: "black"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -34,13 +34,6 @@ import QtQuick 1.0
|
|||||||
import components 1.0 as Components
|
import components 1.0 as Components
|
||||||
|
|
||||||
Item {
|
Item {
|
||||||
Rectangle {
|
|
||||||
height: 1
|
|
||||||
color: "#ccc"
|
|
||||||
anchors.top: parent.top
|
|
||||||
width: parent.width
|
|
||||||
}
|
|
||||||
|
|
||||||
InsetText {
|
InsetText {
|
||||||
id: text
|
id: text
|
||||||
anchors.left: parent.left
|
anchors.left: parent.left
|
||||||
|
|||||||
Reference in New Issue
Block a user