Menu
Login
Language
DE EN FR ES IT CZ
Back

Weird Issue with Object Text Positioning (5RC2)

  • #1, by dionous Tuesday, 15. August 2017, 22:57 9 years ago Quote
    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?

    Forum Fan

    250 Posts

  • #2, by SimonS Tuesday, 15. August 2017, 23:43 9 years ago Quote
    Set the Font link for menu_text_highlight to menu_text. That fixes it.

    Thread Captain

    1622 Posts

  • #3, by dionous Tuesday, 15. August 2017, 23:48 9 years ago Quote
    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!

    Forum Fan

    250 Posts

  • #4, by SimonS Tuesday, 15. August 2017, 23:50 9 years ago Quote
    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.

    Thread Captain

    1622 Posts

  • #5, by dionous Wednesday, 16. August 2017, 00:13 9 years ago Quote
    Thanks for the tip, font link works great!

    Forum Fan

    250 Posts