Changeset View
Changeset View
Standalone View
Standalone View
applets/taskmanager/package/contents/ui/main.qml
Context not available. | |||||
36 | 36 | | |||
---|---|---|---|---|---|
37 | property bool vertical: (plasmoid.formFactor == PlasmaCore.Types.Vertical) | 37 | property bool vertical: (plasmoid.formFactor == PlasmaCore.Types.Vertical) | ||
38 | property bool iconsOnly: (plasmoid.pluginName == "org.kde.plasma.icontasks") | 38 | property bool iconsOnly: (plasmoid.pluginName == "org.kde.plasma.icontasks") | ||
39 | property bool fillWidth: plasmoid.configuration.fillWidth | ||||
39 | 40 | | |||
40 | property QtObject contextMenuComponent: Qt.createComponent("ContextMenu.qml"); | 41 | property QtObject contextMenuComponent: Qt.createComponent("ContextMenu.qml"); | ||
41 | 42 | | |||
Context not available. | |||||
49 | 50 | | |||
50 | Layout.fillWidth: true | 51 | Layout.fillWidth: true | ||
51 | Layout.fillHeight:true | 52 | Layout.fillHeight:true | ||
53 | Layout.maximumWidth: (fillWidth || vertical) ? -1 : Layout.preferredWidth | ||||
54 | Layout.maximumHeight: (fillWidth || !vertical) ? -1 : Layout.preferredHeight | ||||
52 | Layout.minimumWidth: tasks.vertical ? 0 : LayoutManager.preferredMinWidth() | 55 | Layout.minimumWidth: tasks.vertical ? 0 : LayoutManager.preferredMinWidth() | ||
53 | Layout.minimumHeight: !tasks.vertical ? 0 : LayoutManager.preferredMinHeight() | 56 | Layout.minimumHeight: !tasks.vertical ? 0 : LayoutManager.preferredMinHeight() | ||
54 | 57 | | |||
Context not available. |