1.4.0 (submitted for review)
Added
- PrettyUI now has user facing settings accessible from the plugin menu, the ribbon and the Classic sidebar.
- Added
prettyui.IsClassicUI()to read if the player is currently in Classic Interface mode. - Added Table component, this can be used to easily display data in a responsive table format.
- Added
Hide()to windows, which hides the window without invokingonClose. - Added
Hide(),Show()andClose()methods andonCloseanddestroyOnCloseoptions to panels. - Added snapping to windows, on by default. While being dragged, windows snap to other PrettyUI windows, the game’s own interfaces that use snapping, and the screen edges. Set
snapToEdges = falseto opt out. - Added the NisPanel component, matching the visuals and behavior of panels in the modern interface. Set a stable
idto persist bounds, tab groups, order, and the active tab;dockTosupplies a first-use docking default. On classic interface mode, NisPanels adapt to an osrs-like sidebar layout. - Collapse buttons now accept every
Add…method a window has exceptAddTabs,AddPanelandAddCollapseButton. - Added
RefreshLayout()to windows, simple views, panels, tab pages and collapse buttons. Call it after changing content in place, such as a label’s text, to re-wrap text and re-flow the content.
Changed
- PrettyUI components are now hidden while the player is viewing the world map.
- Added
Refresh()to sliders, which can update the marker’s position again after the slider’s width changes. - Titles and body text now wrap and resize vertically as their available width changes.
- Titles no longer default to a single-line limit.
- Radio and checkbox button labels can now wrap to fit the parent’s width. Set the
maxLinesoption to allow it. - Collapse buttons now lay out their content like windows: controls use window spacing instead of a fixed 4 px gap,
inlinecontrols share a row,marginTopadds to the gap instead of replacing it, and destroying a control moves the ones below it up.
Fixed
- Controls with a
heightAnchorno longer make a scrolling page or a collapse section taller each time its layout re-flows. - Improved hover feedback on keybind fields and restored the missing clear sprite for resetting keybinds.
- Windows can now be positioned visually flush against the edges of their parents.
- Slider markers now move with the track when the window or panel holding them is resized.
- Nested panels’ content now resizes when the parent being resized causes the panel to be resized.
- Nested Panels are linked to their parent again, which 1.3.0 had broken.
- Nested panels that follow their parent’s width keep following it after a height-only resize by the end user or a fit to their content. Only resizing their width or calling setSize() stops it.
- A panel’s popped-out size and docked size are now independent of each other.
- Dragging a scrollbar no longer stops while the mouse passes over a resizable window’s edge.
- Fixed custom buffs and debuffs flickering between rows near the native bar’s wrap threshold.
- Fixed an issue where middle-mouse camera rotation would stop when crossing PrettyUI buffs or debuffs.
- Fixed a crash that might occur when pressing alt after destroying a panel mounted on a parent.
- Fixed how Text added to a collapse button wraps and resizes to avoid clipping.
Credits
This version of PrettyUI contains changes from multiple community developers, a big thank you to:
- Psymansayz
- CJ Fritz
- Keensta
- TheJoshJ
- Stitch-P (testing and feedback)
1.3.0 2026-11-19
Added
- Added overhead bars API that can be used to attach health-bar-like overlays to NPCs, players, or Locs.
- Added optional
onPositionChange(window, x, y)andonPositionChange(panel, x, y, poppedOut)callbacks to be used for persisting component positions. These callbacks fire once the user stops their drag action on the targeted component. - Added automatic component IDs with the root option
categoryID = "auto". - Added
NewComponent,RefreshComponentIDs,BuildCategoryGroup, andWithCategoryBatchfor custom native construction. - Added
hideCloseButtonas a option to windows and dialogs. - Added a
useNativeTransparencyoption to windows and panels, with a matchingSetUseNativeTransparency(enabled)method, which when enabled makes them follow the player’s native interface transparency setting. - Added an editable hex colour code caption beneath the colour picker preview.
Changed
- Dialog Component: Dialog footer actions can now be set to
Disabled - Windows and panels can no longer be moved or resized while the player’s interface is locked. To keep a component movable, set
respectInterfaceLock = falseor callSetRespectInterfaceLock(false). - Tooltip UI objects (
root,label, frame sprites) are now built on firstShow()or first access, not inTooltip.attach. Tooltip:Hide()releases those objects, and the nextShow()rebuilds them. Tooltips with a customonMouseLeavehandler stay built.Tooltip.__indexis now a function, not theTooltiptable.- Hovering over edges of resizable surfaces now shows a feedback cursor when a resize action can be performed.
- The drag area for corners on rsizable surfaces has been widened to make it easier to grab onto them.
Fixed
- Minimenu API: Optimized to reduce the amount of reads of
miniMenu.entriesand fixed misalignment issues when multiple plugins are using the API simultaneously. Tabs:SetActivenow hides tooltips on pages it deactivates, so they no longer stay visible after a tab switch.- Fixed an alignment issue on the close button for the window component.
- Corrected the default rotation direction of the
Spinnercomponent.
Deprecated
- Omitting
categoryIDwill emit a warning. In PrettyUI version 2categoryID = autobehavior will become the default and this may break existing library consumers so it is important to migrate and test auto-allocated categoryIDs before the switch.
Removed
- Removed previously deprecated
RibbonBarAPI - Removed previously deprecated
ScrollBarAPI
Other
- We now ship a LuaLS addon along with our GitHub releases that can be used for language server integration for PrettyUI in your IDE of choice
Credits
This version of PrettyUI contains changes from multiple community developers, a big thank you to:
1.2.0 - 2026-10-12
Added
- Added MiniMenu submenus this mimicks the OSRS submenu behavior with fold-out submenus that appear when hovering a parent entry.
1.1.0 - 2026-10-12
Added
- Added KeybindField for one-key and two-key bindings, with capture, clearing, reset values, and paired panel support.
- Added opt-in edge and corner resizing for windows and panels, including minimum and maximum dimensions.
Changed
Spinnernow defaults to the 72 × 72 rotating indicator. It acceptsrotationanddegreesPerLogicUpdate;SetFrame(),SetLogicUpdatesPerFrame(), andlogicUpdatesPerFrameare removed.BigSpinnerandAddBigSpinner()remain aliases for the rotating spinner.TextFieldnow defaultsmaxLengthto 9999.- Colour picker popups now open beside their swatch, flip above it when needed, and default to 312 pixels high (348 with
alphaSlider). - Dividers are excluded from alternating row backgrounds unless
rowBackground = true. - Kept tooltip, inline placement, and join-previous-row controls visible in the visual editor inspector, and made the palette and inspector scroll independently within the viewport-height workspace.
- Holding Alt over a standalone panel now shows the move cursor on its draggable area, matching window title bars.
- Exposed window resize and close callback, plus nested and standalone panel resize, pop-out, and pop-out callback options without opening the inspector’s Layout & appearance section.
Fixed
- Kept draggable windows and panels within their parent when their dimensions permit, including after parent resizing.
- Refreshed alternating row backgrounds when adding a slider.
- Kept overlapping editor windows and standalone surfaces in their canvas stacking order, so a lower window’s header cannot cover a surface above it.
1.0.0 - 2026-09-29
Added
- Added Dialog with custom content, configurable footer actions, per-parent modal stacking, and automatic width expansion to fit its actions.
- Added Confirm with body text, configurable buttons, and confirm/cancel callbacks that can keep the dialog open.
- Added opt-in
resizeParentsupport to collapse sections to automatically fit the parent container’s height when a section expands or collapses.
Deprecated
- Deprecated
RibbonBarin favour of the native plugin UI. Use"hasRibbonIcon": truein your manifest and mount controls in ContentLayer, or use SettingsLayer for settings. RemoveRibbonBar.Registercalls and their handle updates and teardown; registrations now emit a deprecation warning.
Fixed
- Fixed stale content height and scrollbar overflow after collapsing the last flow row, and preserved taller inline neighbours during reflow.
- Fixed collapse sections becoming out of sync between a panel’s docked and pop-out views.
- Fixed text and title tooltips not appearing on hover; their tooltips now follow the cursor.
- Fixed the shared ribbon bar leaving an empty surface after its last entry is removed.
0.7.1 - 2026-08-18
Fixed
- Added parent interface teardown guards on logout to prevent client crashes
0.7.0 - 2026-08-08
Added
- Added various graph components:
TimeGraph,BarChart, andHistogram. See the Graphs API for details. - Added
SpriteAPI to easily insert flow-managed images/sprites into windows, panels, and tab pages.
Fixed
- Fixed various small layout flow issues
0.6.0 - 2026-07-29
Added
- Added optional alternating row backgrounds to windows, panels, and tab pages with
rowBackgroundColours/rowBackgroundColors,rowBackgroundEdgeToEdge, andRefreshRowBackgrounds(). - Added
rowBackgroundGroupto merge consecutive managed rows into one background region. - Added per-entry
Listcolour overrides for the row background. - Tab pages now support flow-managed panels and nested tab groups through
AddPanelandAddTabs. - Radio and checkbox groups now lay out their choices side by side when
inline = true. - Added
rowBackground = falsefor controls that should leave their flow row outside the host’s alternating backgrounds. - Added a
disabledstate to itemslots
Changed
- Buff and debuff tooltips now show after a brief delay to match the native buff behavior.
- Changed scrollbar sprites to use the more general variant that is more commonly seen in native UIs
Fixed
- Fixed ComboBox entry IDs and programmatic selections being mismatched when restoring a requested entry on plugin reload.
- Fixed closing a reusable window leaving tooltips from its content or nested panels visible.
- Fixed an issue where the scrollbar thumb would rubber band when initiating a drag action.
Removed
- Removed the
DrawAPI because world-drawing helpers are outside PrettyUI’s UI scope.
0.5.0 - 2026-07-28
Added
- Added a new
DrawAPI namespace intended for shape api helpers. Currently this exposes a newDraw.Tile(options)for generic tile markers that can be attached to terrain tiles, NPCS, object-stacks or players.
0.4.1 - 2026-07-27
Added
- Added universal
SetTooltip(value)lifecycle methods to tooltip-enabled PrettyUI components and handles, plusSetText(text)on mouseover and text-based anchored tooltip attachments. - Added
SetObject(objId)andSetSprite(spriteID)to BuffBar handles for changing or clearing sprites or Obj references without recreating the entry.
Fixed
TextFieldcaret and text are now better aligned to the background sprites.- Reduced drag-related client overhead to reduce resource usage.
- Fixed parent-anchored tab pages applying an incorrect minimum height.
0.4.0 - 2026-07-26
Added
- Added an optional alpha slider to
ColourPicker, enabled withalphaSlider = true. - Added
SimpleView, an unstyled standalone content host using the shared scroll and flow behavior. - Added shared
SetScrollable,SetScrollPosition,ScrollBy, andSetContentHeightmethods to scrollable content hosts.
Changed
- Lowered the default title font size from
CINZEL_18PT_BOLDtoCINZEL_13PT_BOLDto better align with what native UI does. - Windows, panels, and tab pages are now vertically scrollable by default. Their scrollbar remains hidden until managed content overflows.
Scrollbarhas been deprecated and renamed toSimpleView, theScrollbaralias will be removed in v1.0.0. For most implementations the use ofSimpleViewis no longer necessary, as windows, panels, and tab pages now scroll by default. UseSimpleViewwhen content needs an unstyled host without a window or panel frame.
Fixed
- Mouse dragging targets now correctly remain aligned with the pointer when OS display scaling is enabled.
- Text tabs have now got their minimum width capped to the width of the sprites to prevent clipping when the tab text is too short.
0.3.0 - 2026-07-25
Added
- Added
BuffBarAPI, this should make it easy to add custom buffs to the buff and debuff bars leaving positioning management to the prettyUI library.
Changed
- Moved Add… method definitions into a shared method vendor to avoid repetition between components.
Fixed
- Removed unintentional hover interaction from selection preview in
ColourPickercomponent. - Fixed an oversight in the layout manager not reclaiming empty rows when components are destroyed.
- Drag handlers now correctly account for interface scaling when determining the mouse position.
0.2.0 - 2026-07-24
Added
- Added
ColourPickercomponent.
Changed
- Changed the default font size of window titles from 18pt to 13pt.
Fixed
- Fixed the scrollbar thumb dragging losing connection when the pointer leaves the scrollbar parent.
0.1.1 - 2026-07-24
Fixed
- Fixed dragging for windows, slider thumbs, and scrollbar handles when the pointer leaves the original drag target.
- Fixed Alt-dragging for panels.
0.1.0 - 2026-07-23
Added
- Initial release.