The first thing is to open up the xml file called "global panels" in the panels folder that is next to your graphics folder in the directory of your skin. This is the XML file that the alignment for all of the panels is controlled in. Scroll down slightly to where you can see a label containing
-----------------
"Menubar Panel"
-----------------
and just below that you can see a line of script saying
<widget kind="cmmp" id="menu">
it is important to notice the id of the Menubar panel being "menu" because this is referenced to later on when aligning other panels. The next line of code is an important one:
<layout kind="stks" algn="left,top,bottom" inse="-1"/>
The section of the above line that is most important is:
algn="left,top,bottom" inse"-1"
To break this line down:
algn = alignment
"left,top,bottom" = aligns the menubar to the left of the screen and then stretches it out to the top and bottom to fill the screen. This is where those middle sections of the graphics are used. The tops and bottoms of the menubar are lined up first then the gap is tiled with the middle section.
inse"-1" = this is the inset value. When set to a negative value the menubar is offset one pixel to the right along the x-axis according to the screen geometry.
The only thing that is necessary to change is the "left" to "right".
So now that the menu bar is set to the left, the other panels have to be aligned to it. |