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

Minor graphic glitch with checkbox #3792

Closed
2 tasks done
matwachich opened this issue Apr 6, 2023 · 1 comment
Closed
2 tasks done

Minor graphic glitch with checkbox #3792

matwachich opened this issue Apr 6, 2023 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@matwachich
Copy link
Contributor

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

A tiny little annoying white line inside CheckBox

How to reproduce

Check widget in a window

Screenshots

image

Example code

package main

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

func main() {
	a := app.New()
	w := a.NewWindow("Test")

	w.SetContent(container.NewHSplit(
		widget.NewLabel("Testing"),
		widget.NewCheck("Test", nil),
	))

	w.Resize(fyne.NewSize(400, 400))
	w.CenterOnScreen()
	w.ShowAndRun()
}

Fyne version

2.3.2

Go compiler version

1.20

Operating system and version

Windows 10

Additional Information

It seems like a rounding issue, because when moving the CheckBox the glitch disapears sometimes

@matwachich matwachich added the unverified A bug that has been reported but not verified label Apr 6, 2023
@andydotxyz andydotxyz added this to the Fixes (v2.3.x) milestone Apr 6, 2023
@andydotxyz
Copy link
Member

Working on this but sadly will need to be 2.4 - the only way to fix the alignment is to move the check BG to a theme resource, which requires an additional API I think

@andydotxyz andydotxyz added bug Something isn't working and removed unverified A bug that has been reported but not verified labels Apr 21, 2023
@andydotxyz andydotxyz self-assigned this Apr 21, 2023
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