*

gupas

  • *
  • 23
    • View Profile
MenuBar (small) improvement
« on: 29 July 2013, 11:07:04 »
Hello,

It would be great if menus of the MenuBar were opened/closed with a mouse clic (not only with pointing on them).

That's all. ;)

*

texus

  • *****
  • 1172
    • View Profile
    • Texus's Blog
Re: MenuBar (small) improvement
« Reply #1 on: 29 July 2013, 11:16:43 »
I've been thinking about that as well, so I will do that some day (I'll try to still get the change in v0.6).

But MenuBar is still a relatively new widget and there are more improvement that could be made. Like keeping it on the foreground (and not allow child windows on top of it).

Most widgets got added in one version and improved a lot in the next version, they just need some time to be tested and afterwards they are usually rewritten to make them like they should be.

*

gupas

  • *
  • 23
    • View Profile
Re: MenuBar (small) improvement
« Reply #2 on: 29 July 2013, 11:39:27 »
Happy to see that it was already planned.

I know that it is a new Widget and I think that some proposal should help to improve it.

*

texus

  • *****
  • 1172
    • View Profile
    • Texus's Blog
Re: MenuBar (small) improvement
« Reply #3 on: 29 July 2013, 11:50:24 »
Quote
I think that some proposal should help to improve it.
Indeed. I only use my own gui for the form builder so users of tgui usually get more and different experiences.
Small things like the title of the child window being centered is only in tgui because it was suggested by someone.

And because I have many things to do, I usally rate the importance based on what people want.
I was planning to make the change in MenuBar, but it was somewhere on the bottom of my todo list (which is fictive as I lost my real todo list some time ago). But now that I know someone is interested in it, I'll make sure it gets done faster.

*

texus

  • *****
  • 1172
    • View Profile
    • Texus's Blog
Re: MenuBar (small) improvement
« Reply #4 on: 29 July 2013, 13:54:58 »
You were right, it was a small change :).
All code was already there, it just had to be moved to different functions.

I'm now going to take a look at Grid, that will be a bit more challenging.

*

gupas

  • *
  • 23
    • View Profile
Re: MenuBar (small) improvement
« Reply #5 on: 29 July 2013, 14:34:13 »
I'm now going to take a look at Grid, that will be a bit more challenging.
So good luck ;)

Also, I just have done a pull request on github, fixing a documentation issue. You can have a look.