You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// Create the login form
username := widget.NewEntry()
username.SetPlaceHolder("Username")
password := &widget.Entry{Password: true}
password.SetPlaceHolder("Password")
// Add them all to the form
form := &widget.Form{
Items: []*widget.FormItem{ // we can specify items in the constructor
{Text: "Username", Widget: username},
{Text: "Password", Widget: password}},
OnSubmit: func() { // optional, handle form submission
fmt.Println("Username:", username.Text)
fmt.Println("Password:", password.Text)
signupWindow.Close()
},
}
signupWindow.SetContent(form)
signupWindow.ShowAndRun()
}
Fyne version
v2.5.1
Go compiler version
1.23.1
Operating system and version
Linux 6.9.12-200.fc40.x86_64
Additional Information
Tested on Wayfire DE
The text was updated successfully, but these errors were encountered:
Checklist
Describe the bug
On wlroots based WMs, using the password revealer in a PasswordEntry will shift the window up by about 10 pixels
How to reproduce
Screenshots
LostInTranslation.mp4
Example code
package main
import (
"fmt"
"fyne.io/fyne/v2"
"fyne.io/fyne/v2/app"
"fyne.io/fyne/v2/widget"
)
func main() {
signupApp := app.New()
signupWindow := signupApp.NewWindow("Login")
signupWindow.Resize(fyne.NewSize(800, 600))
}
Fyne version
v2.5.1
Go compiler version
1.23.1
Operating system and version
Linux 6.9.12-200.fc40.x86_64
Additional Information
Tested on Wayfire DE
The text was updated successfully, but these errors were encountered: