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

Sync tabs with swipe view in FeatureForm. #5281

Merged
merged 3 commits into from
Jun 1, 2024
Merged

Conversation

mohsenD98
Copy link
Collaborator

In this PR, we address two minor issues:

1- Fix #5242: The issue where tabs are not following the selected container has been resolved.
2- Additionally, we've fixed the elide problem in MapValue.

These changes aim to improve the overall user experience and stability of application.

Resolved video:

Screencast.from.2024-05-31.07-34-16.webm

also fix elide in MapValue.qml by setting a width.
@mohsenD98 mohsenD98 requested a review from nirvn May 31, 2024 04:27
@mohsenD98 mohsenD98 self-assigned this May 31, 2024
@qfield-fairy
Copy link
Collaborator

qfield-fairy commented May 31, 2024

src/qml/FeatureForm.qml Outdated Show resolved Hide resolved
/**
* The main form content area
*/
SwipeView {
id: swipeView
Layout.fillWidth: true
Layout.fillHeight: true
currentIndex: tabRow.currentIndex
currentIndex: tabBarListView.currentIndex
Copy link
Member

Choose a reason for hiding this comment

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

For the sake of avoiding noise, I would actually keep the same id, i.e. tabRow.

@mohsenD98 mohsenD98 changed the title Sync tabs with swipe view in FeatureForm. WIP Sync tabs with swipe view in FeatureForm. May 31, 2024
@mohsenD98 mohsenD98 changed the title WIP Sync tabs with swipe view in FeatureForm. Sync tabs with swipe view in FeatureForm. May 31, 2024
Copy link
Member

@nirvn nirvn left a comment

Choose a reason for hiding this comment

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

Can't spot a regression, and it does fix the issue you were trying to address. All good.

@nirvn nirvn merged commit f3f28a4 into master Jun 1, 2024
23 checks passed
@nirvn nirvn deleted the sync-tabs-with-swipeview branch June 1, 2024 05:06
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.

Tabs are not following the selected container.
3 participants