Login / Registrieren
DE EN FR ES IT CZ
Zurück Nach oben

Weird Issue with Object Text Positioning (5RC2)

  • #1, by dionous 9 years ago Zitieren
    Hi all,

    See attached a test file for a weird issue noticed:

    - 2 similar buttons with Object Texts assigned.

    When hovering over the Load Button the displayed text is mispositioned vertically while for the Continue button is ok. It gets weirder though: if you hover on the Continue button and then on the Load button, then the displayed text of the Load button gets fixed!

    I'm currently clueless, anyone?
  • #2, by SimonS 9 years ago Zitieren
    Set the Font link for menu_text_highlight to menu_text. That fixes it.
  • #3, by dionous 9 years ago Zitieren
    Thanks Simon,

    The idea is to change the color of the font when hovering. menu_text_highlight is just a copy of menu_text with only color change so i wouldn't expect any strange behaviour!
  • #4, by SimonS 9 years ago Zitieren
    Font link is especially made for this kind of usage, so use it. I doesn't copy the font but uses the other one and recolors it.

    Problem is that ttf change their line height with the letters that are called.
  • #5, by dionous 9 years ago Zitieren
    Thanks for the tip, font link works great!