Changing label positions of tabs in OD+

Sunday, April 25, 2010 by Chris Marriner | Discussion: ObjectDock

OK, not sure if this goes here or not.  If it doesn't, moderators are more then welcome to put it where it goes. 

 

Here's the issue:

I am trying to make a background for OD and I can't for the life of me find where to change a tab's label position.  I am inside the background.ini and I've looked over all of it and can't find where to move the labels around.

 

Here is what I mean, if you can't understand me (I am highly aware I can make absolutely no sense at times.):

helpme...

I wish to move that label up a few pixels to be centered inside the tab.

 

Hope I am making sense.  Thanks for any and all help. 

WebGizmos
Reply #1 Sunday, April 25, 2010 8:37 PM

Look for this setting in the .ini file.

[TabsOnTopSelected]
Image = Tab.png
TopHeight = 5
BottomHeight = 5
RightWidth = 10
LeftWidth = 10
TextVertOffset = -1 <------- raise this number up or down

You can use + or - in front of the number to move it where you want.

 

If your using graphics on your tabs and want to move the text off of them you can add this be low each of your background settings...

[Background]
Image = Image.png
LeftWidth = 0
TopHeight = 0
RightWidth = 0
BottomHeight = 0
OutsideBorderLeft = 0
OutsideBorderRight = 0
ContentBufferTop = 0
ContentBufferBottom = 0

TabOverlapLeft = 0
TabOverlapRight = 0
TabContentBufferLeft = 0
TabContentBufferRight = 0 <---Adjust these settings as needed.

 

[BackgroundTop]
Image = Image.png
LeftWidth = 0
TopHeight = 0
RightWidth = 0
BottomHeight = 0
OutsideBorderLeft = 0
OutsideBorderRight = 0
ContentBufferTop = 0
ContentBufferBottom = 0

TabOverlapLeft = 0
TabOverlapRight = 0
TabContentBufferLeft = 0
TabContentBufferRight = 0 <---Adjust these settings as needed.

Chris Marriner
Reply #2 Sunday, April 25, 2010 10:38 PM

Unfortunately, for some reason none of those seem to be working.

 

I added the "TextVertOffset = -1" and set it to -5, didn't work.  Then I set it to +5 and it didn't work.  No changes in text position. 

I then tried the other you suggested and it didn't work either.  :/

I am probably doing something insanely wrong, so I will post the background.ini file.  (I am using "Aero #3 Black Font" background as a base. Don't worry this background is only for me.)  Hope this helps.

[Info]
Name = Sonye
ColorMe = 0
TextColor = 255 255 255
ShadowColor = 0 0 0
TabOverlapLeft = 5
TabOverlapRight = 5

[BackgroundTop]
Image = BackgroundTop.png
LeftWidth = 43
TopHeight = 34
RightWidth = 43
BottomHeight = 14
ContentBufferLeft = 6
ContentBufferRight = 6
ContentBufferTop = 14
ContentBufferBottom = 1
OutsideBorderTop = 16
OutsideBorderLeft = 16
OutsideBorderRight = 16
OutsideBorderBottom = 40
TabsOutsideBorderLeft = 4
TabsOutsideBorderRight = 4

[BackgroundBottom]
Image = BackgroundBottom.png
LeftWidth = 43
TopHeight = 22
RightWidth = 43
BottomHeight = 26
ContentBufferLeft = 2
ContentBufferRight = 2
ContentBufferTop = 1
ContentBufferBottom = 14
OutsideBorderTop = 40
OutsideBorderLeft = 16
OutsideBorderRight = 16
OutsideBorderBottom = 16
TabsOutsideBorderLeft = 4
TabsOutsideBorderRight = 4

[BackgroundLeft]
Image = BackgroundLeft.png
LeftWidth = 34
TopHeight = 43
RightWidth = 14
BottomHeight = 43
ContentBufferLeft = 14
ContentBufferRight = 1
ContentBufferTop = 2
ContentBufferBottom = 2
OutsideBorderTop = 16
OutsideBorderLeft = 16
OutsideBorderRight = 40
OutsideBorderBottom = 16
TabsOutsideBorderTop = 4
TabsOutsideBorderBottom = 4

[BackgroundRight]
Image = BackgroundRight.png
LeftWidth = 22
TopHeight = 43
RightWidth = 26
BottomHeight = 43
ContentBufferLeft = 1
ContentBufferRight = 14
ContentBufferTop = 2
ContentBufferBottom = 2
OutsideBorderTop = 16
OutsideBorderLeft = 40
OutsideBorderRight = 16
OutsideBorderBottom = 16
TabsOutsideBorderTop = 4
TabsOutsideBorderBottom = 4

[TabsOnTop]
Image=TabBottom.png
LeftWidth=4
RightWidth=4
TopHeight=4
BottomHeight=4

[TabsOnTopSelected]
Image=TabBottomSelect.png
LeftWidth=15
RightWidth=15
TopHeight=6
BottomHeight=6

[TabsOnBottom]
Image=TabBottom.png
LeftWidth=4
RightWidth=4
TopHeight=4
BottomHeight=4

[TabsOnBottomSelected]
Image=TabBottomSelect.png
LeftWidth=15
RightWidth=15
TopHeight=6
BottomHeight=6

[TabsOnLeft]
Image=TabLR.png
LeftWidth=4
RightWidth=4
TopHeight=4
BottomHeight=4

[TabsOnLeftSelected]
Image=TabLRSelect.png
LeftWidth=6
RightWidth=6
TopHeight=15
BottomHeight=15

[TabsOnRight]
Image=TabLR.png
LeftWidth=4
RightWidth=4
TopHeight=4
BottomHeight=4

[TabsOnRightSelected]
Image=TabLRSelect.png
LeftWidth=6
RightWidth=6
TopHeight=15
BottomHeight=15

WebGizmos
Reply #3 Sunday, April 25, 2010 10:48 PM

Chris...send me your dock at msn.com using my nic and I'll fix it all for you and when you get it back you'll see what you don't need in your .ini file. Not your fault but some people tend to overdue it in there with things they don't need or that cancel something else out.

Chris Marriner
Reply #4 Sunday, April 25, 2010 11:02 PM

E-Mail sent, hopefully I sent it to the right e-mail.

WebGizmos
Reply #5 Monday, April 26, 2010 12:37 AM

E-Mail sent, hopefully I sent it to the right e-mail.

Got it Chris! I'll send it back as soon as I fix everything!

Chris Marriner
Reply #6 Monday, April 26, 2010 1:17 AM

Thanks WebGizmo.  You're a real life saver (Not really, but you know what I mean.  )

WebGizmos
Reply #7 Monday, April 26, 2010 2:29 AM

Chris....you got mail!

Chris Marriner
Reply #8 Monday, April 26, 2010 2:35 AM

Web, you have mail also. 

WebGizmos
Reply #9 Monday, April 26, 2010 2:54 AM

Got it Chris! And your welcome!

Please login to comment and/or vote for this skin.

Welcome Guest! Please take the time to register with us.
There are many great features available to you once you register, including:

  • Richer content, access to many features that are disabled for guests like commenting on the forums and downloading skins.
  • Access to a great community, with a massive database of many, many areas of interest.
  • Access to contests & subscription offers like exclusive emails.
  • It's simple, and FREE!



web-wc01