https://bugs.kde.org/show_bug.cgi?id=478489
--- Comment #4 from Frank <frankeba...@gmail.com> --- (In reply to fanzhuyifan from comment #3) > As a work around, just do `panel.setConfig("panelLengthMode", 1)` for > setting fit. Thanks for the suggestion. I'm missing something. Here's one of the 5 or 6 versions I tried following re-reading this documentation https://develop.kde.org/docs/plasma/scripting/api/#applets-containments-and-widgets var plasma = getApiVersion(1) ----- // Create bottom panel (Dock) // const dock = new Panel // Basic Dock Geometry dock.alignment = "center" dock.height = Math.round(gridUnit * 2.8); dock.hiding = "windowscover" dock.location = "bottom" //dock.maximumLenth = 1000 //dock.minimumLength = 250 // Icons-Only Task Manager var tasks = dock.addWidget("org.kde.plasma.icontasks") tasks.currentConfigGroup = ["General"] tasks.writeConfig("fill", false) tasks.writeConfig("iconSpacing", 2) tasks.writeConfig("launchers", "applications:garuda-welcome.desktop,applications:org.kde.konsole.desktop,preferred://browser,preferred://filemanager,applications:org.kde.plasma-systemmonitor.desktop,applications:snapper-tools.desktop,applications:systemsettings.desktop,applications:octopi.desktop") tasks.writeConfig("maxStripes", 1) tasks.writeConfig("showOnlyCurrentDesktop", false) tasks.writeConfig("showOnlyCurrentScreen", false) const panel = ConfigFile('plasmashellrc') panel.group = 'PlasmaViews' panel.setConfig("panelLenghtMode", 1) // End of Dock creation // ----- Nothing is written in plasmashellrc. However if I use instead panel.writeEntry("panelLenghtMode", 1), I do get the following section written in plasmashellrc: [PlasmaViews] panelLenghtMode=1 It's alone in its own section, not associated to a Panel. -- You are receiving this mail because: You are watching all bug changes.