EQ2Interface.com
Search Downloads


Go Back   EQ2Interface > Developer Discussion > UI Developer Discussion

Reply
Thread Tools Search this Thread Display Modes
  #1  
Unread 02-17-2005, 09:24 PM
ReilenBlaeyze ReilenBlaeyze is offline
A Young Mystail Rat
Interface Author - Click to view interfaces
 
Join Date: Dec 2004
Server: Crushbone
Posts: 7
Question Target window (new con) woes

I'm trying to modify the new con style target window to display health and power percentages.

Now as we know there is some dead space in the window, so I put the text labels just below the ornate border.

This is working just fine when I target a monster, but when I target an PC or NPC the game resizes the window so my % values fall just below the window.

I've attached screenshots and XML for my target window.

Now what I need is a way to prevent the game from resizing the window, so my % labels don't get hidden.
Attached Thumbnails
Click image for larger version

Name:	mob_back.gif
Views:	489
Size:	13.2 KB
ID:	1288  Click image for larger version

Name:	mob_noback.gif
Views:	436
Size:	8.5 KB
ID:	1289  Click image for larger version

Name:	player_back.gif
Views:	428
Size:	8.8 KB
ID:	1290  Click image for larger version

Name:	player_noback.gif
Views:	375
Size:	5.1 KB
ID:	1291  
Attached Files
File Type: xml eq2ui_mainhud_target.xml (7.1 KB, 590 views)
Reply With Quote
  #2  
Unread 02-17-2005, 10:32 PM
Quib Quib is offline
A Griffon
This person is a EQ2Map developer.
Interface Author - Click to view interfaces
 
Join Date: Jan 2005
Posts: 720
Default

Maybe adding OnHide="Parent.Parent.Size=x,x" to all the graphic elements of the window to force the size you want? So any time one of the fancy borders goes away, it forces a new window size.

Personally, I'm just sticking with the v0 section of the window and staying with the up arrows.

Quib
Reply With Quote
  #3  
Unread 02-17-2005, 10:34 PM
Deathbane27's Avatar
Deathbane27 Deathbane27 is offline
aka Mook
This person is a EQ2Map developer.
Interface Author - Click to view interfaces
 
Join Date: Jul 2004
Server: Nektulos
Posts: 1,451
Default

Try removing the AutoSize="true" from all of them.

Edit: Or set MinimumSize and MaximumSize to the same as the Size on the window or v1 page.
__________________
If it ain't broke, it needs more features!

Last edited by Deathbane27 : 02-17-2005 at 11:20 PM.
Reply With Quote
  #4  
Unread 02-18-2005, 12:00 AM
ReilenBlaeyze ReilenBlaeyze is offline
A Young Mystail Rat
Interface Author - Click to view interfaces
 
Join Date: Dec 2004
Server: Crushbone
Posts: 7
Default

Thanks, setting MinimumSize="0,75" worked.

Last edited by ReilenBlaeyze : 02-18-2005 at 12:38 AM.
Reply With Quote
  #5  
Unread 02-18-2005, 12:12 AM
ReilenBlaeyze ReilenBlaeyze is offline
A Young Mystail Rat
Interface Author - Click to view interfaces
 
Join Date: Dec 2004
Server: Crushbone
Posts: 7
Cool

I also uploaded it for others to enjoy (pending approval of course)
Reply With Quote
  #6  
Unread 02-18-2005, 12:23 PM
Wyynd Wyynd is offline
A Forest Scavenger
Interface Author - Click to view interfaces
 
Join Date: Dec 2004
Server: Guk
Posts: 16
Default

I noticed this problem last night as well, and I just made the size of the name text object to be like 75pixels tall, and made sure the text wasn't vertically centered (default or top aligned was enough to make sure the name position didn't change). that solved the problem for me. the minimum size attribute sounds like a better/cleaner solution though.... I'll go back and do taht
Reply With Quote
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -5. The time now is 09:49 PM.


Our Network
EQInterface | EQ2Interface | WoWInterface | LoTROInterface | ESOUI | MMOUI