Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MenuItem order wrong for .addExitMenuItem() #50

Closed
azplanlos opened this issue May 9, 2022 · 2 comments
Closed

MenuItem order wrong for .addExitMenuItem() #50

azplanlos opened this issue May 9, 2022 · 2 comments

Comments

@azplanlos
Copy link
Contributor

When building a Tray Icon using the Builder API and adding .addExitMenuItem() the exit menu item shows up on top of the list.

Check:

FXTrayIcon trayIcon =
            new FXTrayIcon.Builder(stage, resource).menuItem("Settings",
                    e-> myMethod()).separator().menuItem(item).addExitMenuItem().show().build();
@EasyG0ing1
Copy link
Contributor

@azplanlos - Yeah, this is been fixed in pull request #47 which has been merged, but not published yet...

Heres a screen shot from that PR:

Screen Shot 2022-05-11 at 2 47 58 AM

@dustinkredmond
Copy link
Owner

Closing this as @EasyG0ing1's commit fixed this. I've just been too busy to publish a release. I will publish the next release with this fix later this evening. Thank you both for bringing this to my attention.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants