fix(TabControl): error when placed #67
No reviewers
Labels
No labels
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
mupen64/ugui!67
Loading…
Reference in a new issue
No description provided.
Delete branch "fix-tab-control-crash"
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?
This control is messed up anyway, we need a different paradigm for this kind of nested template control.
Pull request overview
Fixes a runtime error in
TabControlplacement by callingugui.standard_styler.compute_rich_textwith the full expected argument list (including font name/size), aligning the call site with the function’s signature instyler.lua.Changes:
TabControltab-header width measurement to passfont_nameandfont_sizeintocompute_rich_text.💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.