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

Menu separator not visible with light theme #3814

Closed
2 tasks done
Klaus-Tockloth opened this issue Apr 12, 2023 · 1 comment
Closed
2 tasks done

Menu separator not visible with light theme #3814

Klaus-Tockloth opened this issue Apr 12, 2023 · 1 comment
Labels
bug Something isn't working

Comments

@Klaus-Tockloth
Copy link

Checklist

  • I have searched the issue tracker for open issues that relate to the same problem, before opening a new one.
  • This issue only relates to a single bug. I will open new issues for any other problems.

Describe the bug

Menu separator not visible with light theme (windows, linux).

How to reproduce

Start application and activate menu.

Screenshots

OK:

image 2

NOK:

image

Example code

package main

import (
"fyne.io/fyne/v2"
"fyne.io/fyne/v2/app"
"fyne.io/fyne/v2/widget"
)

func main() {
application := app.New()
wMain := application.NewWindow("Menu Separator")
wMain.Resize(fyne.NewSize(400, 400))
hello := widget.NewLabel("Menu separators not shown under Windows.")
wMain.SetContent(hello)

generalHelp := fyne.NewMenuItem("General", func() {})
problemHelp := fyne.NewMenuItem("Problem", func() {})
versionHelp := fyne.NewMenuItem("Version", func() {})
helpMenu := fyne.NewMenu("Help", generalHelp, fyne.NewMenuItemSeparator(), problemHelp, fyne.NewMenuItemSeparator(), versionHelp)

mainMenu := fyne.NewMainMenu(helpMenu)
wMain.SetMainMenu(mainMenu)
wMain.ShowAndRun()

}

Fyne version

fyne version v2.3.3

Go compiler version

go version go1.20.3 darwin/arm64

Operating system and version

Windows 10 Pro (20H2)

Additional Information

No response

@Klaus-Tockloth Klaus-Tockloth added the unverified A bug that has been reported but not verified label Apr 12, 2023
@andydotxyz andydotxyz added bug Something isn't working and removed unverified A bug that has been reported but not verified labels Apr 12, 2023
@andydotxyz andydotxyz added this to the Fixes (v2.3.x) milestone Apr 12, 2023
andydotxyz added a commit to andydotxyz/fyne that referenced this issue Jun 2, 2023
@andydotxyz
Copy link
Member

Fixed on release branch for v2.3.5 :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants