Skip to content

Menu separator not visible with light theme #3814

Closed
@Klaus-Tockloth

Description

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions