Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Plasma
libksysguard
Commits
ab0362b4
Commit
ab0362b4
authored
Jun 22, 2020
by
Marco Martin
Browse files
Remove leftPadding/rightPadding
AbstractSensorFace doesn't have leftPadding/rightPadding properties
parent
5795bb15
Changes
4
Hide whitespace changes
Inline
Side-by-side
faces/facepackages/barchart/contents/ui/FullRepresentation.qml
View file @
ab0362b4
...
...
@@ -37,7 +37,7 @@ Faces.SensorFace {
// Arbitrary minimumWidth to make easier to align plasmoids in a predictable way
Layout.minimumWidth
:
Math
.
max
(
Kirigami
.
Units
.
gridUnit
*
compactRepresentation
.
barCount
,
Kirigami
.
Units
.
gridUnit
*
8
)
Layout.preferredWidth
:
titleMetrics
.
width
+
leftPadding
+
rightPadding
Layout.preferredWidth
:
titleMetrics
.
width
contentItem
:
ColumnLayout
{
Kirigami.Heading
{
...
...
faces/facepackages/linechart/contents/ui/FullRepresentation.qml
View file @
ab0362b4
...
...
@@ -34,7 +34,7 @@ Faces.SensorFace {
readonly
property
bool
showLegend
:
controller
.
faceConfiguration
.
showLegend
// Arbitrary minimumWidth to make easier to align plasmoids in a predictable way
Layout.minimumWidth
:
Kirigami
.
Units
.
gridUnit
*
8
Layout.preferredWidth
:
titleMetrics
.
width
+
leftPadding
+
rightPadding
Layout.preferredWidth
:
titleMetrics
.
width
contentItem
:
ColumnLayout
{
Kirigami.Heading
{
...
...
faces/facepackages/piechart/contents/ui/FullRepresentation.qml
View file @
ab0362b4
...
...
@@ -36,7 +36,7 @@ Faces.SensorFace {
readonly
property
bool
showLegend
:
controller
.
faceConfiguration
.
showLegend
Layout.minimumWidth
:
Kirigami
.
Units
.
gridUnit
*
8
Layout.preferredWidth
:
titleMetrics
.
width
+
leftPadding
+
rightPadding
Layout.preferredWidth
:
titleMetrics
.
width
contentItem
:
ColumnLayout
{
spacing
:
Kirigami
.
Units
.
largeSpacing
+
Kirigami
.
Units
.
smallSpacing
...
...
faces/facepackages/textonly/contents/ui/FullRepresentation.qml
View file @
ab0362b4
...
...
@@ -35,7 +35,7 @@ Faces.SensorFace {
// Arbitrary minimumWidth to make easier to align plasmoids in a predictable way
Layout.minimumWidth
:
Kirigami
.
Units
.
gridUnit
*
8
Layout.preferredWidth
:
titleMetrics
.
width
+
leftPadding
+
rightPadding
Layout.preferredWidth
:
titleMetrics
.
width
contentItem
:
ColumnLayout
{
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment