forked from qt-creator/qt-creator
Timeline: Remove shadows and rounded corners from details windows
Change-Id: Ibbeb087b61cda1b66e9d4d894c01e24144c2d26c Reviewed-by: Alessandro Portale <alessandro.portale@theqtcompany.com>
This commit is contained in:
@@ -127,27 +127,11 @@ Item {
|
||||
y = 0;
|
||||
}
|
||||
|
||||
// shadow
|
||||
BorderImage {
|
||||
property int px: 4
|
||||
source: "dialog_shadow.png"
|
||||
|
||||
border {
|
||||
left: px; top: px
|
||||
right: px; bottom: px
|
||||
}
|
||||
width: parent.width + 2*px - 1
|
||||
height: parent.height
|
||||
x: -px + 1
|
||||
y: px + 1
|
||||
}
|
||||
|
||||
Rectangle {
|
||||
id: titleBar
|
||||
width: parent.width
|
||||
height: 20
|
||||
color: "#55a3b8"
|
||||
radius: 5
|
||||
border.width: 1
|
||||
border.color: "#a0a0a0"
|
||||
}
|
||||
|
||||
@@ -72,27 +72,11 @@ Item {
|
||||
y = 0;
|
||||
}
|
||||
|
||||
// shadow
|
||||
BorderImage {
|
||||
property int px: 4
|
||||
source: "dialog_shadow.png"
|
||||
|
||||
border {
|
||||
left: px; top: px
|
||||
right: px; bottom: px
|
||||
}
|
||||
width: parent.width + 2*px - 1
|
||||
height: parent.height
|
||||
x: -px + 1
|
||||
y: px + 1
|
||||
}
|
||||
|
||||
// title bar
|
||||
Rectangle {
|
||||
width: parent.width
|
||||
height: 20
|
||||
color: "#4a64b8"
|
||||
radius: 5
|
||||
border.width: 1
|
||||
border.color: "#a0a0a0"
|
||||
}
|
||||
|
||||
Binary file not shown.
|
Before Width: | Height: | Size: 509 B |
@@ -15,7 +15,6 @@
|
||||
<file>SelectionRangeDetails.qml</file>
|
||||
<file>arrow_down.png</file>
|
||||
<file>arrow_right.png</file>
|
||||
<file>dialog_shadow.png</file>
|
||||
<file>range_handle.png</file>
|
||||
<file>ico_selectionmode.png</file>
|
||||
<file>ico_zoom.png</file>
|
||||
|
||||
Reference in New Issue
Block a user