OpenUI MC 0.0.5 - NeoForge 26.1.2
Curse Maven Snippet
What's new
OpenUI MC 0.0.5
Fixed
- Fixed the focused tab painting a solid primary rectangle over the tab bar by folding focus into the base outline before the indicator and labels render.
- Fixed
VirtualListfirst-frame row sizing by propagating the measure font to children materialized during layout, with regression coverage for measurement stability, viewport and overscan bounds, and key reuse across data changes. - Text is now drawn without drop shadows by default across
UiRender.textand framework controls, matching the modern flat look;TextWidgetretains its per-style shadow flag for cases that want one.
Added
- Added a ping-pong marquee modifier on
TextWidget(marquee()/marquee(boolean)): overflowing text rests, slides, rests, and returns inside a hard clip, timed by the unit-testedUiAnimationUtil.pingPongOffseton a monotonic clock. - Added runtime-driven themed hover tooltips: components declare
.tooltip(...)andUiRuntimeowns a single TOOLTIP-layer overlay with 300 ms hover dwell, parent-walk resolution through non-blocking overlays (menus, popovers, palettes), suppression under blocking modals, and overlay-only relayout so mouse movement never re-lays-out the app tree. - Added
Tooltip.drawHover(...)as an imperative API for canvas-style screens, wrapping text at a max width while preserving component styling (color, bold, italic) and caching wrapped lines per font. - Added the
ScrollViewcontrol withUi.scroll(...): clips a single child to its bounds, scrolls overflowing content with the mouse wheel, and draws a slim scrollbar while content exceeds the viewport.
Changed
- Bumped the mod version to 0.0.5. Consumers pinning
com.nstut:openui-mc-*:0.0.5should note that hover tooltips are new public API (UIComponent.tooltip,Tooltip.drawHover) and that default text rendering no longer includes shadows.
This mod has no additional files

