Skip to content

Slider drag handle is clipped off at minimum size #2966

Closed
@Jacalz

Description

Describe the bug:

Something is strange with the MinSize of the slider widget and I don't quite know why. It results in part of the drag handle being cut of at the sides. I can't replicate this on all my screens. It is the most apparent on my 15" laptop screen.

To Reproduce:

Steps to reproduce the behaviour:

  1. Run the example code below.
  2. Look in the top left corner.

Screenshots:

image

Example code:

package main

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

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

	w.SetContent(container.NewVBox(
		widget.NewSlider(0, 5),
	))

	w.ShowAndRun()
}

Device (please complete the following information):

  • OS: Fedora Linux
  • Version: 35 with the Linux Kernel 5.17.5
  • Go version: 1.16.15
  • Fyne version: v2.1.4 and develop

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 workinggood first issueGood for newcomers

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions