|
10-13-2007, 06:48 PM
|
A Sea Turtle
|
|
Join Date: Jul 2004
Server: Blackburrow
Posts: 32
|
|
Tab buttons not aligning right
I'm wondering if anyone can help me - currently, I'm trying to re-use some elements from Tablets 2. Just about everything is working for me, with one exception - tabs. For the life of me, I can't seem to get the tab frames to align properly. Specifically, the "north" edge of the active tab frame, and I'm seeing a gap between the inactive tabs and the box they appear above. The rectangles I'm pulling the images from appear to be OK - but nothing wants to align properly. I saw a post that said to try making full rectangles for tab buttons, rather than just using the nw, north, and ne pieces, but that only made things look worse for me.
If you were to DL the last Tablets2 on this site and open it in uibuilder, you'll see what I'm talking about.
Any thoughts or help on the subject would be appreciated. Thanks in advance.
|
10-13-2007, 07:50 PM
|
gm10-1
|
|
Join Date: Feb 2006
Posts: 6,479
|
|
I didn't check the Tablet files, but I looked at how I did it in ProfitUI. The tab styles only use center, east and west images, having no problems with that. Active and Inactive tabs are perfectly aligned.
If your styles are ok then I suppose it is maybe a problem with your graphics files (alpha channel issue?).
|
10-13-2007, 10:05 PM
|
|
A Griffon
|
|
Join Date: Jul 2004
Server: Everfrost
Posts: 604
|
|
Hmm.. They look alright to me.. The gap is designed to be there
They should like they do in the t_window_elements.tga except in game they will get stretched to accommodate the label. You can edit the .tga file to connect the line.
|
10-13-2007, 10:12 PM
|
A Sea Turtle
|
|
Join Date: Jul 2004
Server: Blackburrow
Posts: 32
|
|
I'll have a look at your UI a bit later (been using it to actually play the game, since nothing I've done seems to work - heh).
I'm actually finding all sorts of problems now - for one, I can't seem to pin the spinner in the hotkey window to the top/center. It's almost like it discards ANY vertical location info. Frustrating, since it looks fine in UIBuilder but falls apart in game. I tried both center,top and cfc,nfn for packlocation, both with the same results. Basically, the spinner ends up dead center in the window. Is it hard-coded to vertical center now? I'd really prefer to have the spinners always visible, but putting them on the sides like that creates a lot of deadspace with the layout I like to use.
Thanks for helping me out again!
|
10-13-2007, 10:20 PM
|
A Sea Turtle
|
|
Join Date: Jul 2004
Server: Blackburrow
Posts: 32
|
|
Here's what I'm seeing - very strange stuff. The vertical lines go away if I reduce the "north" rectangle to 1px wide. Can't seem to fix the alignment, though.
|
10-13-2007, 10:22 PM
|
|
A Griffon
|
|
Join Date: Jul 2004
Server: Everfrost
Posts: 604
|
|
Yea, that file is from (05-27-2005 02:28 AM). There has been a bazillion patches since I abandoned the project.. Sorry..
|
10-13-2007, 11:07 PM
|
gm10-1
|
|
Join Date: Feb 2006
Posts: 6,479
|
|
The graphics look like you should extend the SourceRect upwards. And the spinner can be moved, you've just got horizontal and vertical switched.
|
10-13-2007, 11:56 PM
|
A Sea Turtle
|
|
Join Date: Jul 2004
Server: Blackburrow
Posts: 32
|
|
d'oh.
I'll keep plugging away at it!
Thanks for the input guys!
|
10-14-2007, 10:05 AM
|
A Sea Turtle
|
|
Join Date: Jul 2004
Server: Blackburrow
Posts: 32
|
|
Man, I know this has gone offtopic from the thread title, but I've given up on the tabs for the time being.
The spinner - are you sure I had that "packlocation" syntax backwards? Swapping them doesn't do the trick - I thought it was "horizontal,vertical". Do any up-to-date interfaces have spinners at the top of the hotkey window? I'll post pictures of what's happening when I get a chance.
Edit - Talyns! thank you! Whatever you did appears to have worked! Was it the text in the tab buttons?
Last edited by Prefader : 10-14-2007 at 10:34 AM.
|
10-14-2007, 11:04 AM
|
gm10-1
|
|
Join Date: Feb 2006
Posts: 6,479
|
|
Quote:
Originally Posted by Prefader
The spinner - are you sure I had that "packlocation" syntax backwards? Swapping them doesn't do the trick - I thought it was "horizontal,vertical".
|
No that's right, I thought you might have been trying to do them the other way around.
Quote:
Originally Posted by Prefader
Do any up-to-date interfaces have spinners at the top of the hotkey window?
|
I can move the spinners in my interface freely, I had actually quickly tested that before responding to your post. But seems your problem is solved anyway.
|
10-14-2007, 01:28 PM
|
|
A Griffon
|
|
Join Date: Jul 2004
Server: Everfrost
Posts: 604
|
|
Quote:
Talyns! thank you! Whatever you did appears to have worked! Was it the text in the tab buttons?
|
Huh? I didn't do anything.. LOL.. I just updated the description of UI to say it didn't work in game anymore..
Last edited by Talyns : 10-14-2007 at 01:31 PM.
|
10-14-2007, 01:34 PM
|
A Sea Turtle
|
|
Join Date: Jul 2004
Server: Blackburrow
Posts: 32
|
|
That's pretty weird . . . They look fine now. Go figure.
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 11:47 PM.
|
|