[Help js Scripting Help customize default plasma-desktop
Helmer Teles
helmer.teles at gmail.com
Wed Jun 6 16:11:49 UTC 2012
>The reason i have to delete the file is because of when people login at a
>diferent location with a diferent resolution the panel will never grow to a
>wider width.
>Take for instance the following example script located
>@share/kde4/apps/plasma-desktop/updates/resizepanel.js :
sleep(1000)
panel = panelById(panelIds[0])
panel.length = screenGeometry(panel.screen).width /2
panel.height = 40
panel.alignment = "center"
>This script is run only once, and if you have "roaming" users with diferent
>systems/resolutions your panel will eventually be left at the bottom left
>with a smaller with as the smaller resolution.
I'm sorry but to reproduce what i mean it should be:
panel = panelById(panelIds[0])
panel.length = screenGeometry(panel.screen).width
panel.height = 40
If you start and create your profile with a resolution of 800x600 and later
login with a res of 1024x768 panel will stay at 800x600. Once you login with a
lower value the panel will keep that width.
regards,
hteles
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20120606/19c3162c/attachment.html>
More information about the Plasma-devel
mailing list