PDA

View Full Version : help with alignment


masterosok
08-09-2009, 10:49 PM
I run at 1920 x 1200 and the mod I am using has an alignment problem with the main ui bottons (options, journal, character....) and I was curious if there is an easy way to get those aligned properly.

daimon
08-10-2009, 02:00 PM
screenshot would help a lot and information about which skin is in question.

asmkm22
08-25-2009, 12:33 AM
I believe this is what he's talking about, but not entirely sure. I know it's a question I'm interested in though...

http://img262.imageshack.us/img262/7159/buttonsl.png

daimon
08-25-2009, 05:14 AM
Ah.. In MoM we got two new main buttons: for traits and item advancement. That's why they made some changes on button locations. If you Edit the following lines in skindefinition.xml you can move the buttons around


<Element ID="ToolBarButton_MainMenu" X="17" Y="152" Width="25" Height="25"> </Element>
<Element ID="ToolbarButton_Crafting" X="46" Y="163" Width="25" Height="25"> </Element>
<Element ID="ToolbarButton_Social" X="74" Y="152" Width="25" Height="25">
<Element ID="ToolbarButton_Journal" X="157" Y="163" Width="25" Height="25">
<Element ID="ToolBarButton_Quest" X="130" Y="152" Width="25" Height="25">
<Element ID="ToolbarButton_Accomplishment" X="101" Y="163" Width="25" Height="25"> </Element>
<Element ID="ToolbarButton_Traits" X="185" Y="153" Width="25" Height="25">
<Element ID="ToolbarButton_ItemAdvancement" X="214" Y="163" Width="25" Height="25"> </Element>
<Element ID="ToolbarButton_ItemAdvancement_buttonFrame" X="211" Y="160" Width="30" Height="30"> </Element>
To find correct locations for those buttons you need to calculate a bit to get the correct X & Y values for the code above. I suggest that you use photoshop or similar program to get those coordinates easily.

asmkm22
08-25-2009, 04:32 PM
Thank you for the quick response. I'll try this after I get home from work today.