Adding sources for icons for macOS when they're not fetched for some reason.
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
7a70f50ab8
commit
9ab61a9c0f
4 changed files with 5 additions and 0 deletions
|
@ -92,6 +92,7 @@ MenuBar {
|
||||||
visible: Objects.types[modelData].createable()
|
visible: Objects.types[modelData].createable()
|
||||||
height: visible ? implicitHeight : 0
|
height: visible ? implicitHeight : 0
|
||||||
icon.name: modelData
|
icon.name: modelData
|
||||||
|
icon.source: './icons/' + modelData + '.svg'
|
||||||
icon.color: sysPalette.windowText
|
icon.color: sysPalette.windowText
|
||||||
onTriggered: {
|
onTriggered: {
|
||||||
var newObj = Objects.createNewRegisteredObject(modelData)
|
var newObj = Objects.createNewRegisteredObject(modelData)
|
||||||
|
|
|
@ -47,6 +47,7 @@ Column {
|
||||||
height: visible ? implicitHeight : 0
|
height: visible ? implicitHeight : 0
|
||||||
display: AbstractButton.TextUnderIcon
|
display: AbstractButton.TextUnderIcon
|
||||||
icon.name: modelData
|
icon.name: modelData
|
||||||
|
icon.source: '../icons/' + modelData + '.svg'
|
||||||
icon.width: 24
|
icon.width: 24
|
||||||
icon.height: 24
|
icon.height: 24
|
||||||
icon.color: sysPalette.windowText
|
icon.color: sysPalette.windowText
|
||||||
|
|
|
@ -128,6 +128,7 @@ ListView {
|
||||||
anchors.rightMargin: 5
|
anchors.rightMargin: 5
|
||||||
anchors.topMargin: 5
|
anchors.topMargin: 5
|
||||||
icon.name: 'position'
|
icon.name: 'position'
|
||||||
|
icon.source: '../icons/position.svg'
|
||||||
property bool hasXProp: Objects.types[objType].properties().hasOwnProperty('x')
|
property bool hasXProp: Objects.types[objType].properties().hasOwnProperty('x')
|
||||||
property bool hasYProp: Objects.types[objType].properties().hasOwnProperty('y')
|
property bool hasYProp: Objects.types[objType].properties().hasOwnProperty('y')
|
||||||
visible: hasXProp || hasYProp
|
visible: hasXProp || hasYProp
|
||||||
|
@ -154,6 +155,7 @@ ListView {
|
||||||
anchors.rightMargin: 5
|
anchors.rightMargin: 5
|
||||||
anchors.topMargin: 5
|
anchors.topMargin: 5
|
||||||
icon.name: 'delete'
|
icon.name: 'delete'
|
||||||
|
icon.source: '../icons/delete.svg'
|
||||||
ToolTip.visible: hovered
|
ToolTip.visible: hovered
|
||||||
ToolTip.text: 'Delete ' + Objects.types[objType].displayType() + '.'
|
ToolTip.text: 'Delete ' + Objects.types[objType].displayType() + '.'
|
||||||
|
|
||||||
|
|
|
@ -0,0 +1 @@
|
||||||
|
./settings/custom/position.svg
|
Loading…
Reference in a new issue