User Tools

Site Tools


widget_editor

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Next revisionBoth sides next revision
widget_editor [2020/12/02 18:17] justinwidget_editor [2020/12/11 22:35] justin
Line 10: Line 10:
 =====Creating a Widget===== =====Creating a Widget=====
  
-To create a new [[widget]], click the "Add" button ({{:wiki:add.png?nolink|}}) on the main toolbar and then provide a unique ID that will be assigned to it. Once created, the width and height of the [[widget]] can be adjusted from the "Widget Properties" panel on the left-hand side of the editor. Elements (item slot, text, buttons, etc.) can be dragged and dropped from the "Widget Tools" panel onto the grid layout of the [[widget]].+To create a new [[widget]], click the "Add" button ({{:wiki:add.png?nolink|}}) on the main toolbar and then provide a unique ID that will be assigned to it. Once created, the width and height of the [[widget]] can be adjusted from the "Widget Properties" panel on the left-hand side of the editor. Elements (item slots, text fields, buttons, etc.) can be dragged and dropped from the "Widget Tools" panel onto the grid layout of the [[widget]].
  
 Elements that have been placed can be resized by selecting the element and then dragging the handles of the selection box. To delete an element, select it and press the Delete key or drag and drop it outside of the [[widget]]. Elements that have been placed can be resized by selecting the element and then dragging the handles of the selection box. To delete an element, select it and press the Delete key or drag and drop it outside of the [[widget]].
 +
 +See the "Elements" section below for a description of each element type that can be added to a [[widget]].
  
 =====Main Toolbar===== =====Main Toolbar=====
Line 32: Line 34:
 |{{:wiki:widget_width.png?nolink|}}|Grid Width (Columns)|Width of the [[widget]], or number of columns in the grid. Elements placed into the [[widget]] are aligned to this grid.| |{{:wiki:widget_width.png?nolink|}}|Grid Width (Columns)|Width of the [[widget]], or number of columns in the grid. Elements placed into the [[widget]] are aligned to this grid.|
 |{{:wiki:widget_height.png?nolink|}}|Grid Height (Rows)|Height of the [[widget]], or number of rows in the grid. Elements placed into the [[widget]] are aligned to this grid.| |{{:wiki:widget_height.png?nolink|}}|Grid Height (Rows)|Height of the [[widget]], or number of rows in the grid. Elements placed into the [[widget]] are aligned to this grid.|
 +|{{:wiki:ui.png?nolink|}}|Initial Position|Determines where the [[widget]] will be initially positioned on the screen. This is particularly useful for [[widget|widgets]] that are fixed (i.e. not draggable).|
 |{{:wiki:window_frame_show.png?nolink|}}|Show Frame|Determines whether or not the frame graphic (i.e. the borders and background) is visible for this [[widget]]. Currently this graphic is inherited from the [[item container]] window style in your game's default [[theme_editor|theme]].| |{{:wiki:window_frame_show.png?nolink|}}|Show Frame|Determines whether or not the frame graphic (i.e. the borders and background) is visible for this [[widget]]. Currently this graphic is inherited from the [[item container]] window style in your game's default [[theme_editor|theme]].|
 |{{:wiki:window_free.png?nolink|}}|Draggable|Determines whether or not the player can move the [[widget]] around by clicking and dragging the titlebar or empty area of the window. The "Show Frame" property must be enabled for this option to be available.| |{{:wiki:window_free.png?nolink|}}|Draggable|Determines whether or not the player can move the [[widget]] around by clicking and dragging the titlebar or empty area of the window. The "Show Frame" property must be enabled for this option to be available.|
widget_editor.txt · Last modified: 2023/02/06 22:05 by justin