Marketplace category dropdown UI tweaks

This commit is contained in:
Roxanne Skelly 2019-03-14 12:35:54 -07:00
parent c3ecc29c4b
commit 4470cf9ae5

View file

@ -391,7 +391,7 @@ Rectangle {
top: parent.top top: parent.top
topMargin: 100 topMargin: 100
} }
width: parent.width/2 width: parent.width*2/3
color: hifi.colors.white color: hifi.colors.white
@ -431,7 +431,7 @@ Rectangle {
anchors.leftMargin: 15 anchors.leftMargin: 15
anchors.top:parent.top anchors.top:parent.top
anchors.bottom: parent.bottom anchors.bottom: parent.bottom
anchors.left: parent.left anchors.left: categoryItemCount.right
elide: Text.ElideRight elide: Text.ElideRight
text: model.name text: model.name
@ -445,23 +445,23 @@ Rectangle {
anchors { anchors {
top: parent.top top: parent.top
bottom: parent.bottom bottom: parent.bottom
topMargin: 5 topMargin: 7
bottomMargin: 5 bottomMargin: 7
leftMargin: 10 leftMargin: 10
rightMargin: 10 rightMargin: 10
left: categoriesItemText.right left: parent.left
} }
width: childrenRect.width width: childrenRect.width
color: hifi.colors.blueHighlight color: hifi.colors.faintGray
radius: height/2 radius: height/2
RalewaySemiBold { RalewaySemiBold {
anchors.top: parent.top anchors.top: parent.top
anchors.bottom: parent.bottom anchors.bottom: parent.bottom
width: paintedWidth+30 width: 50
text: model.count text: model.count
color: hifi.colors.white color: hifi.colors.lightGrayText
horizontalAlignment: Text.AlignHCenter horizontalAlignment: Text.AlignHCenter
verticalAlignment: Text.AlignVCenter verticalAlignment: Text.AlignVCenter
size: 16 size: 16