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

Avoiding using QfTextField when we mix up other material controls & popup height fixes #5965

Merged
merged 13 commits into from
Jan 31, 2025

Conversation

nirvn
Copy link
Member

@nirvn nirvn commented Jan 29, 2025

This PR improves the looks of a couple of dialogs as well as positioning device settings popup by moving away from QfTextField (still used in the feature form and a few other places) in favor of the default Material TextField implementation.

Beyond sitting better alongside Material ComboBox items, It comes with a couple of nice improvements:

  • slightly bigger hit area
  • nicer reactive appearance to mouse hovering
  • allows us to replace some labels with placeholder text, providing a more modern UI/UX

I came to realize this was needed for us while developing the WebDAV stuff, and I just can't unsee this now.

E.g.:

Screenshot From 2025-01-29 17-38-16

Screenshot From 2025-01-29 17-38-24

@qfield-fairy
Copy link
Collaborator

qfield-fairy commented Jan 29, 2025

@nirvn nirvn changed the title Avoiding using QfTextField when we mix up other material controls Avoiding using QfTextField when we mix up other material controls & popup height fixes Jan 30, 2025
@nirvn
Copy link
Member Author

nirvn commented Jan 31, 2025

@mohsenD98 , thanks for the review, quite happy about this cleanup here.

@nirvn nirvn merged commit 521950e into master Jan 31, 2025
25 checks passed
@nirvn nirvn deleted the textfield_imp branch January 31, 2025 09:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants