Skip to content
Snippets Groups Projects
Commit 488d26fa authored by tatiana.novikova's avatar tatiana.novikova Committed by andrey.daragan
Browse files

[-] Delete rounding of comboBox

parent 7eac2dad
No related branches found
No related tags found
No related merge requests found
...@@ -86,7 +86,6 @@ ComboBox ...@@ -86,7 +86,6 @@ ComboBox
{ {
anchors.fill: parent anchors.fill: parent
color: parent.popup.visible ? hilightTopColor : normalTopColor color: parent.popup.visible ? hilightTopColor : normalTopColor
radius: 2 * pt
height: parent.height height: parent.height
} }
...@@ -130,7 +129,7 @@ ComboBox ...@@ -130,7 +129,7 @@ ComboBox
anchors.fill: parent anchors.fill: parent
} }
DropShadow DropShadow
{ {
anchors.fill: parent anchors.fill: parent
source: contentCorner source: contentCorner
...@@ -144,18 +143,10 @@ ComboBox ...@@ -144,18 +143,10 @@ ComboBox
//Shadow effect for the top element. //Shadow effect for the top element.
DropShadow DropShadow
{ {
anchors.fill: if (topEffect) anchors.fill: topEffect ? parent : null
parent source: topEffect ? background : null
source: if (topEffect) verticalOffset: topEffect ? 9 * pt : 0
background samples: topEffect ? 13 * pt : 0
verticalOffset: if (topEffect) color: topEffect ? (dapComboBox.popup.visible ? colorDropShadow : colorTopNormalDropShadow) : "#000000"
9 * pt
else 0
samples: if (topEffect)
13 * pt
else 0
color: if (topEffect)
dapComboBox.popup.visible ? colorDropShadow : colorTopNormalDropShadow
else "#000000"
} }
} }
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment