Skip to reading
The GUI Designer

Make an exception for narrow screens

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 illustrations
GUI DESIGNER                                                                                    0.86.4.1  /  HOTFIX 1

07 / BREAKPOINT PROFILES

Suppose the desktop should always use three columns and the phone should always use two. A profile stores that one exception.

The compact profile applies up to a width of 480. Zero in the other conditions means there is no limit for that field.

01. Give the base layout three columns

Select the container, choose the blank/base entry under Edit layout for profile, set columns to 3 and click Apply.

02. Add the compact profile

Click Profiles on the toolbar. Enter compact in Profile ID, click Add, set maxWidth to 480, then click Apply.

03. Change just the compact layout

Reopen the container’s layout dialog. Choose compact at the top, set columns to 2 and apply. Switch to Phone portrait, then to Authored size. Preview settings Current canvas identifies the active profile.

UNDO AN EXCEPTION

In the compact layout, choose the overridden field under Reset one override and click Use base value. Apply. Use base layout for this element clears all that element’s overrides in that profile.

PCA 3D ADVENTURE STUDIO                                                                           GUI Designer   /   54
Page 54 of 57Permalink
Go to page