Skip to reading
GUI Styling, Shaders & Effects

Troubleshoot images and states

Edition 0.86.4.1 HF1

0.86.4.1 Hotfix 1 edition. Earlier lessons and screenshots retain their original version context; revised references and supplements describe the newer behavior.

Download PDFView PDF page
Source table from Troubleshoot images and states, page 63
SymptomCheck
A frame image stretches badlyFit mode and target proportions. The ordinary image path is not a nine-slice editor.
A picture covers the decorative backgroundThe foreground is opaque; use margins, contain or suitable alpha.
All inventory slots show one objectObject art was assigned as repeated slot background instead of the item icon.
Every save uses the same thumbnailSave Screenshot Background Image is overriding real per-slot pictures.
Hover makes the icon jumpState-image canvas dimensions, transparent padding, fit and alignment.
Clicked art seems permanentDistinguish held image state, selected/checked style and a script that explicitly changed the normal image.
A slider handle is hard to usePainted size, actual handle size, surrounding spacing and touch input.

Use deliberately different normal, hover and pressed test images while diagnosing a state problem. Once the sequence works, replace them with your subtle finished artwork.

For a release, test press/release both inside and outside the control and after focus changes. A still designer screenshot cannot prove that feedback resets correctly.

Page 63 of 70Permalink
Go to page