Skin Editor Properties
The Properties section is where the settings for skins elements are located. It also holds the settings for the Canvas and the skin itself. All the properties are grouped in collapsable panels.
The Properties panel will show the skin settings when no element is selected. To deselect an element and return to these settings, click in the outer part of the canvas.
Width & Height – This will adjust the canvas’s width and height, measured in pixels. To get a better idea of how your skin will look on output, set the size to the project’s output window size.
Grid – Adjust the canvas’s grid in pixels. For example, a setting of 10, will create a grid of 10 pixel squares.
Language – This sets the language for the skin. Auto Detect is set by default. Poedit will auto detect the language based on the content in the POT file. However, a specific langauge can be set which maybe useful if the content has mixed languages.
Use margins to set extra space outside of the panorama window (Top, Bottom, Left, Right) to display elements outside of it. These elements could be anything from maps, thumbnails and buttons.
Variables are powerful little tools that can help simplify automation within a skin. An example of use would be to define skin themes. You can assign logic blocks to elements and use a single mouse-click action to change themes. Variables hold a value. That value can change.
So, you can create an action based on the variable’s value. For example, you can create an action that will only trigger when that variable’s value is true; on mouse click, show an element and change the variable’s value to true. Another element in the skin could have a trigger that says when the variable value is true, hide.
For instance, if on a button click you wanted to show 4 elements and hide 3 others, you just need to apply a logic block to those elements using the variable you defined. That variable could be a true/false variable. It’s initial value could be false. For this example, you’d add a logic block in the
Variables can be used as custom triggers in logic blocks.
Each variable has the option to apply a Logic Block.
Add variables to the variables table by double-clicking in the table or clicking the +.
Name – The name of the variable. This will show up in the Triggers list in a logic block, in the placeholders list in textbox, and in the Set Variable Value Skin Action.
Type – Choose the type of variable:
Number – The value is expressed as whole or decimal numbers.
Text – The value is expressed as text.
True/False – A boolean type value using true or false.
Init Value – This is the variable’s base (default) value and it depends on the Variable type. For example, if the Type is set to True/False, the Init Value can only be either true or false. Apply Logic Blocks here.
Expose – Select to have the variable exposed in the skins configuration in the Web output. This allows for skins to be easily configured for the needs of each project.
Description – An optional description of the variable. If you expose the variable, this description will appear as the label in the Edit Skin Configuration dialog in the Web Output.
Source – This column will show the variable’s source as an icon. These variables are added from Project Variables (i.e. from Animation Editor) and Custom Properties in User Data and Hotspots. Click the source icon to change a variable’s source. This is useful if you’d like to have a variable access the hotspot triggers in a logic block. This way, the variable does not have to be defined in the project, just the skin which would make it possible to use in a component.
★ Right-click any variable to rename, cut/paste, delete, or find its usage. Rename and Find Usage will open the Search and will find all instances of that variable. For Rename, enter the new name in the Replace field. Click Replace to rename the variable everywhere in the project.
Rows can be adjusted by dragging on the handles to the left of the row.
This table will be visible once variables and custom properties that have been added to the Animation Editor, User Data and Hotspots are removed from the variables table (using the X in the table). To add them back to the skin, click Add Variables to Skin.
Embedded Stylesheet – Add CSS code to apply to the whole skin.
Use this section to add notes about the skin.
The properties will change to show the settings for the active element. Learn more about each element’s properties.
Working in Properties
Below you’ll find a few tips and shortcuts that will help you customize your workspace and speed up your workflow when working in the Properties.
Switch to Solo Mode in the Properties
To show only one panel open at a time, do one of the following:
In the menu, choose, View > Properties Solo Mode.
Use the keyboard shortcut: Control-Shift-P/Command-Shift-P
Click the panel header while pressing the Alt key.
Hover your mouse over the right edge of the panel header and click the ellipses button.
Toggle through the Panels
Use the keyboard shortcut: Control-Shift-PageUp/Down (win) or Command-Shift-PageUp/Down (macOS)
Show or Hide the Actions and Modifier panels
For the Actions Panel: Control-Shift-A/Command-Shift-A
For the Modifications Panel: Control-Shift-M/Command-Shift-M
Hitting these shortcuts again will close the panels and return the other panels to their previous state.