Weird Issue with Object Text Positioning (5RC2)

  • #1, by dionousTuesday, 15. August 2017, 22:57 7 years ago
    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

    246 Posts


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

    Thread Captain

    1580 Posts

  • #3, by dionousTuesday, 15. August 2017, 23:48 7 years ago
    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

    246 Posts

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

    1580 Posts

  • #5, by dionousWednesday, 16. August 2017, 00:13 7 years ago
    Thanks for the tip, font link works great!

    Forum Fan

    246 Posts