From 382b05e00b4f6be4acb21ec8abbe5fdfbe82597f Mon Sep 17 00:00:00 2001 From: David Rowe Date: Thu, 31 Mar 2016 13:13:13 +1300 Subject: [PATCH] Make expand/collapse icon larger --- examples/html/edit-style.css | 6 +++--- interface/resources/qml/controls-uit/ContentSection.qml | 4 ++-- interface/resources/qml/styles-uit/HifiConstants.qml | 2 +- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/examples/html/edit-style.css b/examples/html/edit-style.css index d216f33f25..28dbaaf30f 100644 --- a/examples/html/edit-style.css +++ b/examples/html/edit-style.css @@ -399,11 +399,11 @@ input[type=checkbox]:checked + label:hover { .section-header span { font-family: HiFi-Glyphs; - font-size: 20px; + font-size: 30px; float: right; position: absolute; - top: 9px; - right: 12px; + top: 4px; + right: 6px; } .text-group[collapsed="true"] ~ .text-group, diff --git a/interface/resources/qml/controls-uit/ContentSection.qml b/interface/resources/qml/controls-uit/ContentSection.qml index 6f106a8347..7a6f472c46 100644 --- a/interface/resources/qml/controls-uit/ContentSection.qml +++ b/interface/resources/qml/controls-uit/ContentSection.qml @@ -97,11 +97,11 @@ Column { HiFiGlyphs { anchors { - verticalCenter: title.verticalCenter + top: title.top + topMargin: -9 right: parent.right rightMargin: -4 } - y: -2 size: hifi.fontSizes.disclosureButton text: isCollapsed ? hifi.glyphs.disclosureButtonExpand : hifi.glyphs.disclosureButtonCollapse color: hifi.colors.lightGrayText diff --git a/interface/resources/qml/styles-uit/HifiConstants.qml b/interface/resources/qml/styles-uit/HifiConstants.qml index 9c879a2fd6..02be3b93d1 100644 --- a/interface/resources/qml/styles-uit/HifiConstants.qml +++ b/interface/resources/qml/styles-uit/HifiConstants.qml @@ -168,7 +168,7 @@ Item { readonly property real menuItem: dimensions.largeScreen ? 15 : 11 readonly property real shortcutText: dimensions.largeScreen ? 13 : 9 readonly property real carat: dimensions.largeScreen ? 38 : 30 - readonly property real disclosureButton: dimensions.largeScreen ? 20 : 15 + readonly property real disclosureButton: dimensions.largeScreen ? 30 : 22 } Item {