LoTROInterface

LoTROInterface (https://www.lotrointerface.com/forums/index.php)
-   XML modification help (L) (https://www.lotrointerface.com/forums/forumdisplay.php?f=23)
-   -   umm i think i need help here (https://www.lotrointerface.com/forums/showthread.php?t=740)

Drahgunfyre 04-23-2009 03:58 PM

umm i think i need help here
 
ok first of im a total noob at xml editing so if i sound a lil off key its just im winging it here.

ok im trying to make my toolbar align to the right side of my screen but im having trouble figuring out what numbers i need to place in the xml.

I searched the forums for toolbar positioning but didnt find the info I need.

What I'm looking for is the formula you use to find the positioning needed and if you have to take into mind the size of the graphic

my graphic is 420 wide and 90 tall and im running 1440 * 900 any help would be really appreciated.

Also if i posted in wrong place im sorry

daimon 04-23-2009 04:09 PM

the line you want to edit is Element ID="Toolbar_Quickslot"

Left
X=0
Y=screenHeight-yourImageHeight

Middle
X=(screenWidth/2)-(yourImageWidth/2)
Y=screenHeight-yourImageHeight

Right
X=screenWidth-yourImageWidth
Y=screenHeight-yourImageHeight

But .. you can use numbers that are way over your screen resolution. Like X=2000 would move the mainbar to the right side and Y=2000 would make sure that your mainbar will go to the bottom even on higher resolutions. The UI wont let them move over the screen borders if you insert high values.

Drahgunfyre 04-23-2009 06:39 PM

Thanks so much Daimon, i looked for hours and didnt find that info. maybe im forum illiterate.http://www.lotrointerface.com/forums...s/rolleyes.gif Anyway thanks for replying so quick, once im fully satisfied with my ui ill let you all take a gander. I definitely love your ui one of the reasons i wanted to get to make my own. Any free editing rpograms out there that are easy to use and fully functional would be appreciated also any must have utils :) thanks again for the help. I just reread that so just to reinterate and to make sure im not confused when you want to move the entire tool bar you edit the toolbar quickslot? and not the toolbarfield or toolbarfield main elements??

Drahgunfyre 04-23-2009 06:49 PM

Quote:

Originally Posted by daimon (Post 3330)
the line you want to edit is Element ID="Toolbar_Quickslot"

Left
X=0
Y=screenHeight-yourImageHeight

Middle
X=(screenWidth/2)-(yourImageWidth/2)
Y=screenHeight-yourImageHeight

Right
X=screenWidth-yourImageWidth
Y=screenHeight-yourImageHeight

But .. you can use numbers that are way over your screen resolution. Like X=2000 would move the mainbar to the right side and Y=2000 would make sure that your mainbar will go to the bottom even on higher resolutions. The UI wont let them move over the screen borders if you insert high values.

toolbar quickslot not toolbar main or field main?

daimon 04-24-2009 04:30 AM

ups my bad, guess i was already half-sleep when I wrote that stuff >.<

Element ID="ToolbarField" is what you need to edit. the stuff i wrote before works here

Element ID="ToolbarFieldMain"
-> X&Y=0 width&height=same values above

Drahgunfyre 04-24-2009 02:52 PM

hehe we all have those moments
 
Its ok i was sleepy last night also thanks again for the help daimon


All times are GMT -5. The time now is 11:35 AM.

vBulletin® - Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
© MMOUI