Skip to content
Docs
Open Promoeyes

window-frame

UI item · inside ui / ui3duisset 2× in templates and rigs

Desktop window chrome on a UI stage: a rounded outline, a title bar with its title and window buttons, and a drop shadow; the client area stays see-through, so it goes after the content it frames.

window-frame(appearance=dark buttons=mac h=1)

Attributes

appearancetext`light` (default) or `dark` title bar.2×
buttonstext`mac` (default), traffic lights and a centred title; `win`, minimise / maximise / close and the title at the left.2×
hnumber2×
rnumberCorner radius (default 12 for mac, 10 for win).2×
shadowtrue / false`false` drops the shadow (on by default).2×
strokecolour #rrggbbColour of the window's outline.2×
titletextTitle-bar text (default `Window`).2×
titlebar_hnumberHeight of the title bar, in stage units (default 32 for mac, 40 for win).2×
wnumber2×
xnumber2×
ynumber2×

Where it goes

Written under