Change Font style

Hi guys, I was wondering if we are able to change the font style in OB. I have been looking around for a while and I haven't found anything at all...

Thanks for any help

Cheers
Yoni
406 views 1 replies
Reply #1 Top

The following tags are used to define custom per-state fonts/fontcolors for items on a per-groupstyle basis, and should be placed in each and every area of the INI that represents an item state. E.g. [NormalItemSkin], [MouseoverItemSkin], [SelectedItemSkin], [NormalItemSkin_2], [MouseoverItemSkin_2], [SelectedItemSkin_3], etc. These tags can also be used in [General] to set the default font for the whole bar, but I would not recommend doing so as you’re likely to have unexpected results. Unfortunately no WindowBlindsSkin-like way to set colors/fonts here so a lot of replication

Font = MS Sans Serif ; Defines the font-face

FontSize = 8 ; Defines the font size

FontItalics = 0 ; 1 to use italics, 0 to not

FontBold = 0 ; 1 to use bold, 0 to not

FontUnderline = 0 ; 1 to use underline, 0 to not

FontStrikeout = 0 ; 1 to use strikeout, 0 to not

FontAntialias = 1 ; 1 to use antialiasing (on by default), 0 to not.

; (this option is available in case you have problems

; With text antialiasing over magic-pink, which

; can cause problems with getting proper transparency)

TextColor = 255 255 255 ; Set the font’s color. R G B format, 0-255.

FontDefColor = 255 255 255 ; Same as above. You should include BOTH TextColor and

; FontDefColor with identical values to ensure proper

; results.

;

; Reason: ObjectBar’s format is victim of being

; changed one too many times in its early years. As such,

; back-compatibility got the best of it, and the best

; fool-proof way to ensure that you get proper results is

; to fill in both “TextColor” and “FontDefColor”

; identically each time you want to give a color to use.




From Skinning the dock (by Jeff Bargman): https://www.stardock.com/products/objectbar/docs/Skinning_OB.html
Don't forget to check out Creating an ObjectBar - by Aaron Klenke (aka Zubaz)