--- a/package/contents/ui/main.qml +++ b/package/contents/ui/main.qml @@ -23,7 +23,7 @@ Item { property bool showDevices: plasmoid.configuration.showDevices property bool showTimeline: plasmoid.configuration.showTimeline property bool showSearches: plasmoid.configuration.showSearches - property int widgetWidth: plasmoid.configuration.widgetWidth + property int widgetWidth: Math.max(units.iconSizes.medium, theme.defaultFont.pixelSize + theme.smallestFont.pixelSize + units.smallSpacing) * 10 Plasmoid.compactRepresentation: PlasmaCore.IconItem { source: 'folder-favorites' --- a/package/contents/ui/config/ConfigGeneral.qml +++ b/package/contents/ui/config/ConfigGeneral.qml @@ -42,6 +42,7 @@ Item { Label { text: i18n('Widget width:') + visible: false } SpinBox { @@ -51,6 +52,7 @@ Item { decimals: 0 stepSize: 10 suffix: ' px' + visible: false } } }