mirror of
https://github.com/AvengeMedia/DankMaterialShell.git
synced 2026-05-16 17:22:45 -04:00
text: change default rendering back to Qt
This commit is contained in:
@@ -16,9 +16,11 @@ BasePill {
|
||||
content: Component {
|
||||
Item {
|
||||
implicitWidth: {
|
||||
if (!SettingsData.weatherEnabled) return 0
|
||||
if (root.isVerticalOrientation) return root.widgetThickness - root.horizontalPadding * 2
|
||||
return Math.min(100 - root.horizontalPadding * 2, weatherRow.implicitWidth)
|
||||
if (!SettingsData.weatherEnabled)
|
||||
return 0;
|
||||
if (root.isVerticalOrientation)
|
||||
return root.widgetThickness - root.horizontalPadding * 2;
|
||||
return Math.min(100 - root.horizontalPadding * 2, weatherRow.implicitWidth);
|
||||
}
|
||||
implicitHeight: root.isVerticalOrientation ? weatherColumn.implicitHeight : (root.widgetThickness - root.horizontalPadding * 2)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user