Changeset View
Changeset View
Standalone View
Standalone View
applets/systemtray/package/contents/ui/ExpandedRepresentation.qml
Show All 26 Lines | |||||
27 | ColumnLayout { | 27 | ColumnLayout { | ||
28 | id: expandedRepresentation | 28 | id: expandedRepresentation | ||
29 | //set width/height to avoid an useless Dialog resize | 29 | //set width/height to avoid an useless Dialog resize | ||
30 | width: Layout.minimumWidth | 30 | width: Layout.minimumWidth | ||
31 | height: Layout.minimumHeight | 31 | height: Layout.minimumHeight | ||
32 | Layout.minimumWidth: units.gridUnit * 24 | 32 | Layout.minimumWidth: units.gridUnit * 24 | ||
33 | Layout.minimumHeight: units.gridUnit * 21 | 33 | Layout.minimumHeight: units.gridUnit * 21 | ||
34 | Layout.preferredWidth: Layout.minimumWidth | 34 | Layout.preferredWidth: Layout.minimumWidth | ||
35 | Layout.preferredHeight: Layout.minimumHeight * 1.5 | 35 | Layout.preferredHeight: Layout.minimumHeight | ||
36 | Layout.maximumWidth: Layout.minimumWidth | ||||
37 | Layout.maximumHeight: Layout.minimumHeight | ||||
kmaterka: Removing 1.5 is fine, probably this is a left over. It was something like this (git history)… | |||||
when Layout.maximumWidth/Heigh = Layout.minimumWidth/Heigh window is not re-sizable and not movable kmaterka: when Layout.maximumWidth/Heigh = Layout.minimumWidth/Heigh window is not re-sizable and not… | |||||
36 | spacing: 0 // avoid gap between title and content | 38 | spacing: 0 // avoid gap between title and content | ||
37 | 39 | | |||
38 | property alias activeApplet: container.activeApplet | 40 | property alias activeApplet: container.activeApplet | ||
39 | property alias hiddenLayout: hiddenItemsView.layout | 41 | property alias hiddenLayout: hiddenItemsView.layout | ||
40 | 42 | | |||
41 | RowLayout { | 43 | RowLayout { | ||
42 | 44 | | |||
43 | PlasmaExtras.Heading { | 45 | PlasmaExtras.Heading { | ||
▲ Show 20 Lines • Show All 98 Lines • Show Last 20 Lines |
Removing 1.5 is fine, probably this is a left over. It was something like this (git history):