Scaling Roblox UI from phone to desktop
Resize a piece, resize a screen, change a panel's shape: three different jobs, and the wrong tool for each is how UI ends up blurry or misaligned.
Most broken Roblox UI is broken at the edges: blurry on a phone, tiny on a monitor, corners stretched into mush. It usually comes from using one resizing tool for three different jobs.
Making one piece bigger or smaller
Use a uniform scale. Width and height change together, the aspect ratio holds, and text layers stay aligned with the art. Do not change Size by hand and do not nudge children with Position offsets to hide a gap.
Fitting the whole screen
Design at one canvas size, then let a single UIScale fit the whole screen to the viewport. That keeps relative positions exact. Two settings help on real devices: respect the safe area, so buttons are not under a notch or the Roblox top bar, and cap the maximum scale, so a screen designed for a phone does not become enormous on a 4K monitor.
Changing a panel's shape
Only 9-sliced pieces can be made wider or taller. The corners keep their size and the edges and center stretch. If a piece has no 9-slice, stretching one axis distorts it; pick a different piece or scale it uniformly.
Things that cause trouble
- Cropping an image with
ImageRectOffsetandImageRectSize. The padding around an exported image often holds glows and shadows. - Changing
ScaleTypeon a label that was generated for one specific size. - Placing a layer (icon, label) without the base it belongs on.
- Drawing a piece that is already part of its parent's image, so it appears twice.
If something looks off, find the cause before touching the result. A missing base, a duplicate layer or a canvas smaller than the layout explains almost every case.
Frequently asked questions
How should a Roblox ScreenGui scale between phones and 4K monitors?
Build the layout on one fixed design canvas and attach a single AutoScale UIScale script to fit the viewport while respecting safe-area insets and capping maximum scale so desktop monitors do not blow up phone layouts.
When can I change a Roblox panel's aspect ratio without distorting its borders?
Only when the ImageLabel uses Enum.ScaleType.Slice with accurate 9-slice SliceCenter insets. Pieces without 9-slice metadata should be scaled uniformly so corners and bevels do not warp.
Why does cropping ImageRectOffset break glowing Roblox buttons?
Glows and outer shadows bleed outside the logical Figma frame into negative imageOrigin padding. Cropping that padding cuts off the glow with a hard rectangular edge.