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

Variable Editor: First step of redesign #5352

Merged
merged 4 commits into from
Jun 20, 2024
Merged

Conversation

mohsenD98
Copy link
Collaborator

This is the initial step in the redesign of the VariableEditor component. In this iteration, we have taken the first step towards the makeover by removing the background color from rows. Additionally, we have addressed indentation issues and applied some cosmetic improvements to the QML code.

New look:

image (1)

@mohsenD98 mohsenD98 requested a review from nirvn June 19, 2024 02:25
@mohsenD98 mohsenD98 self-assigned this Jun 19, 2024
@qfield-fairy
Copy link
Collaborator

qfield-fairy commented Jun 19, 2024

contentWidth: variableNameText.implicitWidth
duration: shouldAutoFlick ? Math.abs(variableNameText.width - width) * 100 + 10 : 10000

contents: TextField {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We don't actually need contents: here right? I'd just add the TextField there.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thanks, just removed it.

@nirvn nirvn merged commit e065e51 into master Jun 20, 2024
23 checks passed
@nirvn nirvn deleted the variable-editor-polish branch June 20, 2024 14:11
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.

None yet

3 participants