Closed
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
The last character of the option selected doesn't appear in widget.Select when the option selected contains a specific character like "à", "é"...
How to reproduce
I include a small piece of code to reproduce the bug.
Screenshots
Example code
package main
import (
"log"
"fyne.io/fyne/v2"
"fyne.io/fyne/v2/app"
"fyne.io/fyne/v2/widget"
)
func main() {
a := app.New()
w := a.NewWindow("Test")
w.Resize(fyne.NewSize(640, 480))
options := []string{"Here is à test", "This is a test"}
sel := widget.NewSelect(options, func(v string) {
log.Println(v)
})
w.SetContent(sel)
w.ShowAndRun()
}
Fyne version
v2.4.0
Go compiler version
1.21.0
Operating system and version
Windows 11
Additional Information
No response
Activity