Skip to content

WidgetGroup: add default index0 widget to stacked layout#2646

Merged
daschuer merged 3 commits intomixxxdj:masterfrom
ronso0:stacked-layout-fix
May 2, 2020
Merged

WidgetGroup: add default index0 widget to stacked layout#2646
daschuer merged 3 commits intomixxxdj:masterfrom
ronso0:stacked-layout-fix

Conversation

@ronso0
Copy link
Copy Markdown
Member

@ronso0 ronso0 commented Apr 10, 2020

Fixes https://bugs.launchpad.net/mixxx/+bug/1627859

Previously, the first widget in a stacked layout was always visible after skin load regardless of the 'visible' CO value. Adding a zero-sized dummy widget at index 0 here avoids having to do that in
skin xml files.

Fixes https://bugs.launchpad.net/mixxx/+bug/1627859
Previously, the first widget in a stacked layout was always visible
after skin load regardless of the 'visible' CO value. Adding a
zero-sized dummy widget at index 0 here avoids having to do that in
skin xml files.
@ronso0
Copy link
Copy Markdown
Member Author

ronso0 commented Apr 10, 2020

Some skin xml workarounds are already removed in #2619
I don't touch those here to avoid conflicts.

@ronso0 ronso0 marked this pull request as ready for review April 10, 2020 15:45
@ronso0 ronso0 added this to the 2.3.0 milestone Apr 10, 2020
@ronso0 ronso0 requested a review from daschuer April 30, 2020 21:10
Copy link
Copy Markdown
Member

@daschuer daschuer left a comment

Choose a reason for hiding this comment

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

LGTM
I have tried to hack around it by restoring the visible state but it fails. So this workaround is the best we have.
Thank you.
Unfortunately this has a merge conflict.

@ronso0
Copy link
Copy Markdown
Member Author

ronso0 commented May 2, 2020

Conflicts are fixed. Ready!

@daschuer daschuer merged commit 6f39853 into mixxxdj:master May 2, 2020
@ronso0 ronso0 deleted the stacked-layout-fix branch May 2, 2020 21:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants