MenuBar (small) improvement

Started by gupas, 29 July 2013, 11:07:04

gupas

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

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

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

QuoteI 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

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

Quote from: texus on 29 July 2013, 13:54:58
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.