You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[BUG] New widgets added by .load() displace existing widgets #2639
Add the widget using .addWidget() and observe it in the next open horizontal spot.
Add the same widget using .load() and observe it in the middle of the grid.
Expected behavior
New widgets are placed consistently regardless of which method was used. In this case I'd expect new widget added with .load() to be placed in the same location .addWidget() would.
yeah, that case should work but load() was written expecting complete layouts (doing just the diffs) but since that item is new it should addWidget() at the end since there is no location... special case.
Activity
adumesny commentedon Mar 27, 2024
yeah, that case should work but load() was written expecting complete layouts (doing just the diffs) but since that item is new it should addWidget() at the end since there is no location... special case.
load() fix with mix of new item without coordinates
adumesny commentedon Mar 30, 2024
fixed in the next release. don't forget to donate if you find this lib useful!
jilow commentedon Apr 2, 2024
Thanks for fixing this so quickly @adumesny! I can confirm that this is no longer an issue as of v10.1.2.