FIFE forums

Please login or register.

Login with username, password and session length
Advanced search  

News:

FIFE 0.4.0 has been released on 15th of January, 2017!

Author Topic: Suggestion to fix a issue in Unkown Horizons  (Read 1567 times)

pinkfloyda

  • Newbie
  • Posts: 1
    • View Profile
Suggestion to fix a issue in Unkown Horizons
« on: February 20, 2014, 07:58:35 pm »

Hi, new comer for FIFE, when I fix one issue in Unkown Horizons, I found it is tricky to hide some widgets,

my pull request and issue references are here: https://github.com/unknown-horizons/unknown-horizons/pull/2241

We want to support tooltip shown if hover on some widgets, such as ImageButton, now the design is as follows:

in ImageButton, composite another widget (Container) that will be shown as tooltip. whenever the user hovers or unhovers the ImageButton,
the widget tooltip will be shown and hidden. But we I close a Menu (Container in FIFE) containing such ImageButton, the shown tooltip is still there.

So what will happen to that ImageButton if its parent Container is closed, will it be hidden or be deleted? Any places can I hook so that to unhide the tooltip
before it goes?
Logged