v2.24.0
What's new
RGX-Framework v2.24.0
Package: RGX-Framework-v2.24.0.zip, 112 runtime files, plus release.json.
UI:CreatePillTabs(parent, opts)adds pill-shaped sub-category buttons.opts.itemstakes labels (strings, or tables withlabel),opts.selectedsets the starting chip andopts.onSelect(index)reports clicks.- Chips size to their text, use the active style's rounded panel and the mod's primary colour for the selected ring, and repaint through
Design:OnThemeChanged. bar:SetSelected(index)clamps to the available chips,bar:GetSelected()reads the current chip,bar.buttonsexposes them andbar.Refresh()repaints.
UI:CreatePager(parent, opts)acceptsopts.tabs, one label per page.- A labelled pager renders the chip row along the top-left of the host and hides the Prev/Next row. The content area reserves the same vertical space as the old navigation row.
SetPage,Next,Prev,GetPageandonPageChangedbehave exactly as before, and chip clicks drive the sameSetPagepath. The row is available aspager.pillTabs.- Pagers without
tabs, and single-page pagers, keep their existing chrome.
- New gate
tools/ci/pill-tabs-check.mjsruns the real layout module against a frame mock: chip selection, hover and theme repaint, labelled-pager synchronization, and the unchanged unlabelled and single-page cases. It runs as part ofnpm run lua-runtime-check.
All Relations
- All Relations
- Embedded Library
- Optional Dependency
- Required Dependency
- Tool
- Incompatible
- Include
This mod has no related projects