User Tools

Site Tools


image_element

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
image_element [2020/12/02 20:59] justinimage_element [2021/04/21 20:23] justin
Line 9: Line 9:
 |{{:wiki:image.png?nolink|}}|Image|[[Image]] that will be displayed.| |{{:wiki:image.png?nolink|}}|Image|[[Image]] that will be displayed.|
 |{{:wiki:arrow_in_out.png?nolink|}}|Stretch Mode|Determines how the source [[image]] will be rendered within the element. See [[Image Stretch Modes]] for an explanation of each option.| |{{:wiki:arrow_in_out.png?nolink|}}|Stretch Mode|Determines how the source [[image]] will be rendered within the element. See [[Image Stretch Modes]] for an explanation of each option.|
-|{{:wiki:margin_left.png?nolink|}}|Left Margin| | +|{{:wiki:margin_left.png?nolink|}}|Left Margin|Amount of padding (in pixels) that will be added to the left of the image.
-|{{:wiki:margin_right.png?nolink|}}|Right Margin| | +|{{:wiki:margin_right.png?nolink|}}|Right Margin|Amount of padding (in pixels) that will be added to the right of the image.
-|{{:wiki:margin_top.png?nolink|}}|Top Margin| | +|{{:wiki:margin_top.png?nolink|}}|Top Margin|Amount of padding (in pixels) that will be added to the top of the image.
-|{{:wiki:margin_bottom.png?nolink|}}|Bottom Margin| |+|{{:wiki:margin_bottom.png?nolink|}}|Bottom Margin|Amount of padding (in pixels) that will be added to the bottom of the image.|
  
 =====Scripting===== =====Scripting=====
Line 19: Line 19:
 **Changing an element's image:** **Changing an element's image:**
 <code bauxite> <code bauxite>
-widget["test"].element["0001"].image = "new_image.png"+widget["test"].element["0001"].image = "new_image.png";
 </code> </code>
  
 ~~NOTOC~~ ~~NOTOC~~
image_element.txt · Last modified: 2024/02/21 21:14 by justin