Skip to content

Minor graphic glitch with checkbox #3792

Closed
@matwachich

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

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

Activity

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

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions