{"id":411,"date":"2008-05-18T15:40:07","date_gmt":"2008-05-18T15:40:07","guid":{"rendered":"http:\/\/www.notmart.org\/index.php\/Software\/Enlarge_your_panel"},"modified":"2008-05-18T15:40:07","modified_gmt":"2008-05-18T15:40:07","slug":"enlarge_your_panel","status":"publish","type":"post","link":"https:\/\/notmart.org\/blog\/2008\/05\/enlarge_your_panel\/","title":{"rendered":"Enlarge your panel"},"content":{"rendered":"<p>Plasma for KDE 4.1 is coming along nicely, probably it won&#8217;t have everything we wanted to but i think it&#8217;s an huge improvement already compared to 4.0.x series.<br \/>\nA feature i did for 4.1 is to make panels really easy to configure and make exactly how you want, even an insane layout like that:<\/p>\n<p><a href=\"http:\/\/www.notmart.org\/images\/whackypanels.png\"><img decoding=\"async\" src=\"http:\/\/www.notmart.org\/images\/tn_whackypanels.png\" style=\"float:none;clear:both\" alt=\"whacky panels setup\"\/><\/a><\/p>\n<p>The panel configuration dialog that was in 4.0.x was killed and replaced with that strange thing that appears when you click on the little panel toolbox that spots a wordprocessor-like ruler complete with paragraph alignment buttons:<\/p>\n<p><a href=\"http:\/\/img164.imageshack.us\/my.php?image=panelcontrollereq6.png\"><img decoding=\"async\" src=\"http:\/\/img164.imageshack.us\/img164\/451\/panelcontrollereq6.th.png\" style=\"float:none;clear:both\" alt=\"Panel controller\" \/><\/a><\/p>\n<p>This would seem quite complex, but it&#8217;s the most powerful way that catches the future development of the panel even beyond 4.2. Why?<br \/>\nin KDE 4.1 the panels will be able to automatically grow\/shrink when you add and remove applets (in the future also applets like the task manager will be able to make the panel grow or shrink, that&#8217;s 4.2 stuff), so you could want to set where the panel starts, the direction where it grows  and a maximum and minimum sizes that limits the growth\/shrink of the panel. so it&#8217;s like a paragraph aligned to the left, center or right of the page, so here we go with the three paragraph alignment buttons \ud83d\ude42<\/p>\n<p>So if the panel can enlarge\/shrink itself it&#8217;a also necessary to setmaximum and minimum boundaries beyond you don&#8217;t want the panel to resize (and the default will still be both maximum and minimum witdth to 100%) and here we have the three little ruler handles, that sets respectively:<br \/>\nwhite: panel position relative to the left, center or roght anchor point<br \/>\nblue: maximum panel size<br \/>\ngreen minimum size<\/p>\n<p>Since a video is worth more than 1024 words here it is:<\/p>\n<p><object width=\"425\" height=\"355\"><param name=\"movie\" value=\"http:\/\/www.youtube.com\/v\/iV8wor5VYTw&#038;hl=en\"><\/param><param name=\"wmode\" value=\"transparent\"><\/param><embed src=\"http:\/\/www.youtube.com\/v\/iV8wor5VYTw&#038;hl=en\" type=\"application\/x-shockwave-flash\" wmode=\"transparent\" width=\"425\" height=\"355\"><\/embed><\/object><\/p>\n<p>And since flash sucks <a href=\"http:\/\/www.notmart.org\/files\/panelcontroller.ogg\">here<\/a> it is a bigger theora file.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Plasma for KDE 4.1 is coming along nicely, probably it won&#8217;t have everything we wanted to but i think it&#8217;s an huge improvement already compared to 4.0.x series. A feature i did for 4.1 is to make panels really easy to configure and make exactly how you want, even an insane layout like that: The [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[16],"tags":[2,10,96,7],"class_list":["post-411","post","type-post","status-publish","format-standard","hentry","category-software","tag-kde","tag-kde4","tag-panel","tag-plasma"],"_links":{"self":[{"href":"https:\/\/notmart.org\/blog\/wp-json\/wp\/v2\/posts\/411","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/notmart.org\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/notmart.org\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/notmart.org\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/notmart.org\/blog\/wp-json\/wp\/v2\/comments?post=411"}],"version-history":[{"count":0,"href":"https:\/\/notmart.org\/blog\/wp-json\/wp\/v2\/posts\/411\/revisions"}],"wp:attachment":[{"href":"https:\/\/notmart.org\/blog\/wp-json\/wp\/v2\/media?parent=411"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/notmart.org\/blog\/wp-json\/wp\/v2\/categories?post=411"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/notmart.org\/blog\/wp-json\/wp\/v2\/tags?post=411"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}