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

widgets: fixed tabs overflow behaviour #6517

Merged
merged 1 commit into from
Oct 11, 2024
Merged

widgets: fixed tabs overflow behaviour #6517

merged 1 commit into from
Oct 11, 2024

Conversation

FloVanGH
Copy link
Member

@FloVanGH FloVanGH changed the title widgets: fix tabs overflow behaviour widgets: fixed tabs overflow behaviour Oct 11, 2024
Comment on lines +143 to +146
Flickable {
HorizontalLayout {
@children
}
Copy link
Member

Choose a reason for hiding this comment

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

I think that this should just be a clip, not a full fledged Flickable with actual behaviour. (here and in the other files).

Suggested change
Flickable {
HorizontalLayout {
@children
}
Rectangle {
clip: true;
HorizontalLayout {
@children
}

Copy link
Member Author

Choose a reason for hiding this comment

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

The intention is not only clipping. Then yes a Rectangle would be sufficient. What I want is to make the list of tabs scrollable when there is not enough horizontal space.

Copy link
Member

Choose a reason for hiding this comment

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

Ah yes. It feels a bit weird to pan, but it's indeed much better than not accessible tabs at all :)

@FloVanGH FloVanGH merged commit f8f1d46 into master Oct 11, 2024
36 checks passed
@FloVanGH FloVanGH deleted the florian/tabs-fix branch October 11, 2024 12:15
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.

TabWidget tabbar overflows parent's dimensions
2 participants