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

Entry Placeholder Style Only Applied On Click #4035

Closed
2 tasks done
dozn opened this issue Jul 7, 2023 · 1 comment
Closed
2 tasks done

Entry Placeholder Style Only Applied On Click #4035

dozn opened this issue Jul 7, 2023 · 1 comment
Labels
bug Something isn't working

Comments

@dozn
Copy link

dozn commented Jul 7, 2023

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

Placeholder text on an entry field uses the TextStyle of the entry field itself, although it seems to be applied only once clicked upon.

How to reproduce

Click on the entry field.

Screenshots

image
image

Example code

func main() {
	application := app.New()
	window := application.NewWindow("Test")

	entryField := widget.NewEntry()
	entryField.PlaceHolder = "Test"
	entryField.TextStyle = fyne.TextStyle{Bold: true}

	window.SetContent(entryField)
	window.ShowAndRun()
}

Fyne version

e050d79

Go compiler version

1.20.5

Operating system and version

Arch Linux (kernel 6.1.37 LTS)

Additional Information

I would expect it to be bold without having to be clicked on, and in fact I'd even prefer if there were separate styling options for both the placeholder and the text itself, although that's perhaps a feature request =b

@dozn dozn added the unverified A bug that has been reported but not verified label Jul 7, 2023
@Jacalz Jacalz added bug Something isn't working and removed unverified A bug that has been reported but not verified labels Aug 19, 2023
Jacalz added a commit to Jacalz/fyne that referenced this issue Aug 19, 2023
@andydotxyz
Copy link
Member

Fixed ready for v2.4.0

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

3 participants