View Single Post
  #2  
Unread 10-02-2010, 04:47 AM
daimon's Avatar
daimon daimon is offline
The Undying
Interface Author - Click to view interfaces
 
Join Date: Aug 2007
Location: Finland
Posts: 466
Code:
<PanelFile ID="ID_UISkin_Toolbar">
  <Element ID="ToolbarField" X="0" Y="513" Width="1024" Height="200"> 
    <Element ID="AutoAttackIndicatorButton" X="249" Y="128" Width="1" Height="1"> </Element>
    <Element ID="ViolentModeIndicator" X="249" Y="128" Width="1" Height="1"> </Element>
  </Element>
</PanelFile>
In ToolbarField you have to calculate X and Y values for your resolution so the mainbar would center. Basically it's:

X=(screen width)/2 - (mainbar width)/2
Y=2000
__________________
~·~ DaimonUI ~·~
avatar by Humon
Reply With Quote