The My Opera forums have been replaced with forums.opera.com. Please head over there to discuss Opera's products and features

See the new Forums

How to manipulate the text position in the addressfield? !Not font\type change

Forums » General Opera topics » Customizing Opera

You need to be logged in to post in the forums. If you do not have an account, please sign up first.

Go to last post

17. October 2011, 14:32:26

daisensou

Posts: 37

How to manipulate the text position in the addressfield? !Not font\type change

All the topics and skinning tutorials I could find only related to the font type\size\color and not to the position itself. If you need a better idea of what I'm asking, see the image:

http://i.imgur.com/5eBMv.png

[Addressbar Skin]
Padding Top			= 3
Padding Bottom			= -4


The top gets a positive value simply because I like how the selected tab blends with the address bar, the bottom is set to -4 simply to reduce the addressbar height, the fact that it crops the addressfield bottom without affecting the display of lowercase\uppercase and East-Asian characters is a pretty nice bonus wink

The text hits nicely the bottom edge of the addressfield and I guess that's because of the uneven values or because Opera still uses the default height to align the text, otherwise it would be aligned correctly with a 2 pixels space at the top and bottom (for example, the statusbar with equal negative values will perfectly center the text, give it or take a pixel).

Anyway, that's why I created this topic, is there a way to align the text manually? (like the buttons\icons and their individual Padding values)

2. November 2011, 14:57:18

daisensou

Posts: 37

Nevermind, besides [Addressbar Skin], the "margin" and "padding" under [Dropdown Addressfield Skin] should be edited too to compensate the changes!

Forums » General Opera topics » Customizing Opera