mirror of
https://github.com/arthur-pbty/arthur-os.git
synced 2026-08-06 12:39:35 +02:00
17 lines
440 B
QML
17 lines
440 B
QML
import QtQuick
|
|
|
|
Item {
|
|
id: root
|
|
|
|
property QtObject bar: null
|
|
property string moduleName: "spacer"
|
|
property var settings: ({})
|
|
|
|
readonly property bool vertical: bar ? bar.vertical : false
|
|
readonly property int span: settings && settings.size !== undefined ? Number(settings.size) : 12
|
|
|
|
implicitWidth: vertical ? (bar ? bar.barSize : 28) : span
|
|
implicitHeight: vertical ? span : (bar ? bar.barSize : 26)
|
|
visible: span > 0
|
|
}
|