pack: v0.39.1 — bnstoolkit 0.6.1 sub-panel sizing hotfix #79
Reference in New Issue
Block a user
Delete Branch "hotfix/sub-panel-sizing"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
Hub screen rendered blank: title + buttons appeared, but the status panel area in between was empty. Same latent bug in every screen with a sub-panel.
Root cause: FTB Library's
Panel.refreshWidgetsorder isaddWidgets → recurse-into-children → alignWidgets. Sub-panels got their size set in the parent'salignWidgets— AFTER the recursive refresh had already populated/aligned their children using a 0x0 size. Every Row ended upsetSize(0, 12)→ invisible.Fix: pre-size every sub-panel in the parent's
addWidgetsso the recursive refresh sees correct dimensions. Mechanical change across 6 screens (Hub, TierUpgrade, CountingHouse, BountyBoard, PlotPurchase, QuestLog).🤖 Generated with Claude Code