--===============1855255227== Content-Type: multipart/signed; boundary="nextPart1351589.QTakmlcRmT"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit --nextPart1351589.QTakmlcRmT Content-Type: multipart/mixed; boundary="Boundary-01=_vHJpHhJVMHwgNnJ" Content-Transfer-Encoding: 7bit Content-Disposition: inline --Boundary-01=_vHJpHhJVMHwgNnJ Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Hi ! Now it is possible to configure the location of the panel, and have vertica= l=20 panel. I was wandering if having a vertical panel by default when we have a wide=20 screen would be a good idea (attached patch) Arguments: when you read or write document, you often need more space=20 vertically, and less hirizontaly. Of course the default size of the panel need to be ajusted also. --Boundary-01=_vHJpHhJVMHwgNnJ Content-Type: text/x-diff; charset="us-ascii"; name="panel_location.diff" Content-Transfer-Encoding: quoted-printable Content-Disposition: attachment; filename="panel_location.diff" Index: corona.cpp =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D =2D-- corona.cpp (revision 769882) +++ corona.cpp (working copy) @@ -323,7 +323,11 @@ // make a panel at the bottom Containment* panel =3D addContainment("panel"); panel->setScreen(topLeftScreen); =2D panel->setLocation(Plasma::BottomEdge); + QRect g =3D desktop->screenGeometry(topLeftScreen); + if (g.width() * 3 > g.height() * 4) + panel->setLocation(Plasma::RightEdge); + else + panel->setLocation(Plasma::BottomEdge); =20 // some default applets to get a usable UI panel->addApplet("launcher"); --Boundary-01=_vHJpHhJVMHwgNnJ-- --nextPart1351589.QTakmlcRmT Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.8 (GNU/Linux) iD8DBQBHpJHvz58lY8jWrL0RAqelAJsFoIV68akvTChONorCNF4HTxm5dQCfQl2j sk431IAFca+85qRbRUaQGFw= =89+b -----END PGP SIGNATURE----- --nextPart1351589.QTakmlcRmT-- --===============1855255227== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Panel-devel mailing list Panel-devel@kde.org https://mail.kde.org/mailman/listinfo/panel-devel --===============1855255227==--