Registered Member
|
Hi i am trying to modify the javascript to create some template for kde panel right now
i can create panel on bottom , ok , top left and rigth but for left and right i have some problems on javascripting var panel = new Panel panel.length = 27 //panel.height = 800 THIS DOESN'T WORK it has maxime size i guess 400 i guess or something like that //panel.extent panel.location = 'left' |
Administrator
|
I suspect the length and height should still be treated as if they were on the top or bottom.
KDE Sysadmin
[img]content/bcooksley_sig.png[/img] |
Registered Member
|
mm
ALT F2 , desktop console then try to get the new panel on the left , i can't , no way this is what i get http://wstaw.org/m/2011/04/20/plasma-desktopRj1656.jpg using var panel = new Panel panel.length = 27 panel.height = 800 //THIS DOESN'T WORK it has maxime size i guess 400 i guess or something like that //panel.extent panel.location = 'left' i have 1280 x 800 but i can't get 800 for the panel with the script but manually i can... :S |
Global Moderator
|
Perhaps a misunderstanding?
I think bcooksley meant: panel.length = 800 panel.height = 27 Or have you tried that already?
Debian testing
|
Registered Member
|
well no
type this :
and copy and paste this var panel = new Panel panel.length = 800 panel.height = 27 panel.location = 'left' then try to execute and you will not get the left panel even with var panel = new Panel panel.length = 27 panel.height = 800 panel.location = 'left' you can't get the whole height even if you treat panels like top or bottom |
Administrator
|
The following code worked for me, although I noticed on subsequent runs that changing the size of the panel had no effect, so I couldn't test your original code.
Running on KDE Trunk.
KDE Sysadmin
[img]content/bcooksley_sig.png[/img] |
Registered Member
|
ok but you would have tried 800 instead of 200 because for 200 i guess it works |
Administrator
|
I suspect a limiation in the code to prevent too high panels on the top or bottom of the screen is causing these issues. I'm going to try and contact the developers in question to see if this can be debugged, as I can definitely reproduce.
KDE Sysadmin
[img]content/bcooksley_sig.png[/img] |
Registered Member
|
Yes, i guess before there was problems with panels so there were put limitations , i have spoken with aseigo and i guess i have understood that,but he has no time for these stuff >D , and so i even tried to rotate the panel but without success , i don-t know js so well , ... better... i don-t know it at all
|
Administrator
|
Have you filed a bug report with Plasma so that this does not get forgotten? Without a bug report, it is less probable this will get fixed in the future.
KDE Sysadmin
[img]content/bcooksley_sig.png[/img] |
Registered Member
|
no i didn't because , i didn't think it was a bug, could you do the report? i believe you could report better than me .
|
Registered users: Bing [Bot], Google [Bot], Yahoo [Bot]