mirror of
https://github.com/overte-org/overte.git
synced 2025-04-21 20:44:14 +02:00
Change section expand/collapse icons
This commit is contained in:
parent
46bb3c05a5
commit
4729020df1
2 changed files with 6 additions and 3 deletions
|
@ -88,11 +88,11 @@ Column {
|
|||
anchors {
|
||||
verticalCenter: title.verticalCenter
|
||||
right: parent.right
|
||||
rightMargin: -hifi.dimensions.contentMargin.x
|
||||
rightMargin: -4
|
||||
}
|
||||
y: -2
|
||||
size: hifi.fontSizes.carat
|
||||
text: isCollapsed ? hifi.glyphs.caratR : hifi.glyphs.caratDn
|
||||
size: hifi.fontSizes.disclosureButton
|
||||
text: isCollapsed ? hifi.glyphs.disclosureButtonExpand : hifi.glyphs.disclosureButtonCollapse
|
||||
color: hifi.colors.lightGrayText
|
||||
visible: isCollapsible
|
||||
}
|
||||
|
|
|
@ -127,6 +127,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
|
||||
}
|
||||
|
||||
Item {
|
||||
|
@ -138,6 +139,8 @@ Item {
|
|||
readonly property string close: "w"
|
||||
readonly property string closeInverted: "x"
|
||||
readonly property string closeSmall: "C"
|
||||
readonly property string disclosureButtonCollapse: "M"
|
||||
readonly property string disclosureButtonExpand: "L"
|
||||
readonly property string disclosureCollapse: "Z"
|
||||
readonly property string disclosureExpand: "B"
|
||||
readonly property string forward: "D"
|
||||
|
|
Loading…
Reference in a new issue