Difference between revisions of "Template:Panel Properties"

From Empires Wiki
Jump to: navigation, search
(Created page with "=== Properties Inherited from Panel === * fieldName: Determines the name of the control. * xpos: Determines the horizontal offset from the top left...")
 
(Properties Inherited from Panel)
Line 6: Line 6:
 
* [[Panel Positioning | tall]]: Determines the height of the control.
 
* [[Panel Positioning | tall]]: Determines the height of the control.
 
* zpos: Determines the depth of the panel. Deeper panels are drawn first. Lower numbers = deeper.
 
* zpos: Determines the depth of the panel. Deeper panels are drawn first. Lower numbers = deeper.
 +
* pinCorner: The pinned corner is the one positioned at xpos/ypos. Values are: TOPLEFT (default), TOPRIGHT, BOTTOMLEFT, BOTTOMRIGHT
 +
* pinnedCornerOffsetX:
 +
* pinnedCornerOffsetY:
 +
* unpinnedCornerOffsetX:
 +
* unpinnedCornerOffsetY:
 
* visible: Determines if the control will be drawn.
 
* visible: Determines if the control will be drawn.
 
* enabled: Determines if the control is enabled. Used by controls higher up the chain (like Buttons).
 
* enabled: Determines if the control is enabled. Used by controls higher up the chain (like Buttons).
 +
* ignoreScheme:
 
* tabPosition: Determines the tab order of the control.
 
* tabPosition: Determines the tab order of the control.
 
* tooltiptext: Determines the tooltip text to show when you hover over this control.
 
* tooltiptext: Determines the tooltip text to show when you hover over this control.
Line 13: Line 19:
 
* paintBackgroundType:  
 
* paintBackgroundType:  
 
* paintborder: Paint the border of this control.
 
* paintborder: Paint the border of this control.
 +
* AutoResize: Sets which edges of the panel can be resized. Values are: NO (default), RIGHT, DOWN, DOWNANDRIGHT

Revision as of 13:38, 7 August 2017

Properties Inherited from Panel

  • fieldName: Determines the name of the control.
  • xpos: Determines the horizontal offset from the top left (by default) of the parent panel.
  • ypos: Determines the vertical offset from the top left (by default) of the parent panel.
  • wide: Determines the width of the control.
  • tall: Determines the height of the control.
  • zpos: Determines the depth of the panel. Deeper panels are drawn first. Lower numbers = deeper.
  • pinCorner: The pinned corner is the one positioned at xpos/ypos. Values are: TOPLEFT (default), TOPRIGHT, BOTTOMLEFT, BOTTOMRIGHT
  • pinnedCornerOffsetX:
  • pinnedCornerOffsetY:
  • unpinnedCornerOffsetX:
  • unpinnedCornerOffsetY:
  • visible: Determines if the control will be drawn.
  • enabled: Determines if the control is enabled. Used by controls higher up the chain (like Buttons).
  • ignoreScheme:
  • tabPosition: Determines the tab order of the control.
  • tooltiptext: Determines the tooltip text to show when you hover over this control.
  • paintbackground: Paint the background color of this control.
  • paintBackgroundType:
  • paintborder: Paint the border of this control.
  • AutoResize: Sets which edges of the panel can be resized. Values are: NO (default), RIGHT, DOWN, DOWNANDRIGHT