forked from mbk-lab/rui_orig
2
0
Fork 0
rui/propertyNames.go

444 lines
27 KiB
Go

package rui
const (
// ID is the constant for the "id" property tag.
ID = "id"
// Style is the constant for the "style" property tag.
Style = "style"
// StyleDisabled is the constant for the "style-disabled" property tag.
StyleDisabled = "style-disabled"
// Disabled is the constant for the "disabled" property tag.
Disabled = "disabled"
// Semantics is the constant for the "semantics" property tag.
Semantics = "semantics"
// Visibility is the constant for the "visibility" property tag.
Visibility = "visibility"
// ZIndex is the constant for the "z-index" property tag.
// The int "z-index" property sets the z-order of a positioned view.
// Overlapping views with a larger z-index cover those with a smaller one.
ZIndex = "z-index"
// Opacity is the constant for the "opacity" property tag.
// The float "opacity" property in [1..0] range sets the opacity of an element.
// Opacity is the degree to which content behind an element is hidden, and is the opposite of transparency.
Opacity = "opacity"
// Row is the constant for the "row" property tag.
Row = "row"
// Column is the constant for the "column" property tag.
Column = "column"
// Left is the constant for the "left" property tag.
// The "left" SizeUnit property participates in specifying the left border position of a positioned view.
// Used only for views placed in an AbsoluteLayout.
Left = "left"
// Right is the constant for the "right" property tag.
// The "right" SizeUnit property participates in specifying the right border position of a positioned view.
// Used only for views placed in an AbsoluteLayout.
Right = "right"
// Top is the constant for the "top" property tag.
// The "top" SizeUnit property participates in specifying the top border position of a positioned view.
// Used only for views placed in an AbsoluteLayout.
Top = "top"
// Bottom is the constant for the "bottom" property tag.
// The "bottom" SizeUnit property participates in specifying the bottom border position of a positioned view.
// Used only for views placed in an AbsoluteLayout.
Bottom = "bottom"
// Width is the constant for the "width" property tag.
// The "width" SizeUnit property sets an view's width.
Width = "width"
// Height is the constant for the "height" property tag.
// The "height" SizeUnit property sets an view's height.
Height = "height"
// MinWidth is the constant for the "min-width" property tag.
// The "width" SizeUnit property sets an view's minimal width.
MinWidth = "min-width"
// MinHeight is the constant for the "min-height" property tag.
// The "height" SizeUnit property sets an view's minimal height.
MinHeight = "min-height"
// MaxWidth is the constant for the "max-width" property tag.
// The "width" SizeUnit property sets an view's maximal width.
MaxWidth = "max-width"
// MaxHeight is the constant for the "max-height" property tag.
// The "height" SizeUnit property sets an view's maximal height.
MaxHeight = "max-height"
// Margin is the constant for the "margin" property tag.
// The "margin" property sets the margin area on all four sides of an element.
// ...
Margin = "margin"
// MarginLeft is the constant for the "margin-left" property tag.
// The "margin-left" SizeUnit property sets the margin area on the left of a view.
// A positive value places it farther from its neighbors, while a negative value places it closer.
MarginLeft = "margin-left"
// MarginRight is the constant for the "margin-right" property tag.
// The "margin-right" SizeUnit property sets the margin area on the right of a view.
// A positive value places it farther from its neighbors, while a negative value places it closer.
MarginRight = "margin-right"
// MarginTop is the constant for the "margin-top" property tag.
// The "margin-top" SizeUnit property sets the margin area on the top of a view.
// A positive value places it farther from its neighbors, while a negative value places it closer.
MarginTop = "margin-top"
// MarginBottom is the constant for the "margin-bottom" property tag.
// The "margin-bottom" SizeUnit property sets the margin area on the bottom of a view.
// A positive value places it farther from its neighbors, while a negative value places it closer.
MarginBottom = "margin-bottom"
// Padding is the constant for the "padding" property tag.
// The "padding" Bounds property sets the padding area on all four sides of a view at once.
// An element's padding area is the space between its content and its border.
Padding = "padding"
// PaddingLeft is the constant for the "padding-left" property tag.
// The "padding-left" SizeUnit property sets the width of the padding area to the left of a view.
PaddingLeft = "padding-left"
// PaddingRight is the constant for the "padding-right" property tag.
// The "padding-right" SizeUnit property sets the width of the padding area to the right of a view.
PaddingRight = "padding-right"
// PaddingTop is the constant for the "padding-top" property tag.
// The "padding-top" SizeUnit property sets the height of the padding area to the top of a view.
PaddingTop = "padding-top"
// PaddingBottom is the constant for the "padding-bottom" property tag.
// The "padding-bottom" SizeUnit property sets the height of the padding area to the bottom of a view.
PaddingBottom = "padding-bottom"
// BackgroundColor is the constant for the "background-color" property tag.
// The "background-color" property sets the background color of a view.
BackgroundColor = "background-color"
// Background is the constant for the "background" property tag.
// The "background" property sets one or more background images and/or gradients on a view.
// ...
Background = "background"
// Cursor is the constant for the "cursor" property tag.
// The "cursor" int property sets the type of mouse cursor, if any, to show when the mouse pointer is over a view
// Valid values are "auto" (0), "default" (1), "none" (2), "context-menu" (3), "help" (4), "pointer" (5),
// "progress" (6), "wait" (7), "cell" (8), "crosshair" (9), "text" (10), "vertical-text" (11), "alias" (12),
// "copy" (13), "move" (14), "no-drop" (15), "not-allowed" (16), "e-resize" (17), "n-resize" (18),
// "ne-resize" (19), "nw-resize" (20), "s-resize" (21), "se-resize" (22), "sw-resize" (23), "w-resize" (24),
// "ew-resize" (25), "ns-resize" (26), "nesw-resize" (27), "nwse-resize" (28), "col-resize" (29),
// "row-resize" (30), "all-scroll" (31), "zoom-in" (32), "zoom-out" (33), "grab" (34), "grabbing" (35).
Cursor = "cursor"
// Border is the constant for the "border" property tag.
// The "border" property sets a view's border. It sets the values of a border width, style, and color.
// This property can be assigned a value of BorderProperty type, or ViewBorder type, or BorderProperty text representation.
Border = "border"
// BorderLeft is the constant for the "border-left" property tag.
// The "border-left" property sets a view's left border. It sets the values of a border width, style, and color.
// This property can be assigned a value of BorderProperty type, or ViewBorder type, or BorderProperty text representation.
BorderLeft = "border-left"
// BorderRight is the constant for the "border-right" property tag.
// The "border-right" property sets a view's right border. It sets the values of a border width, style, and color.
// This property can be assigned a value of BorderProperty type, or ViewBorder type, or BorderProperty text representation.
BorderRight = "border-right"
// BorderTop is the constant for the "border-top" property tag.
// The "border-top" property sets a view's top border. It sets the values of a border width, style, and color.
// This property can be assigned a value of BorderProperty type, or ViewBorder type, or BorderProperty text representation.
BorderTop = "border-top"
// BorderBottom is the constant for the "border-bottom" property tag.
// The "border-bottom" property sets a view's bottom border. It sets the values of a border width, style, and color.
// This property can be assigned a value of BorderProperty type, or ViewBorder type, or BorderProperty text representation.
BorderBottom = "border-bottom"
// BorderStyle is the constant for the "border-style" property tag.
// The "border-style" property sets the line style for all four sides of a view's border.
// Valid values are NoneLine (0), SolidLine (1), DashedLine (2), DottedLine (3), and DoubleLine (4).
BorderStyle = "border-style"
// BorderLeftStyle is the constant for the "border-left-style" property tag.
// The "border-left-style" int property sets the line style of a view's left border.
// Valid values are NoneLine (0), SolidLine (1), DashedLine (2), DottedLine (3), and DoubleLine (4).
BorderLeftStyle = "border-left-style"
// BorderRightStyle is the constant for the "border-right-style" property tag.
// The "border-right-style" int property sets the line style of a view's right border.
// Valid values are NoneLine (0), SolidLine (1), DashedLine (2), DottedLine (3), and DoubleLine (4).
BorderRightStyle = "border-right-style"
// BorderTopStyle is the constant for the "border-top-style" property tag.
// The "border-top-style" int property sets the line style of a view's top border.
// Valid values are NoneLine (0), SolidLine (1), DashedLine (2), DottedLine (3), and DoubleLine (4).
BorderTopStyle = "border-top-style"
// BorderBottomStyle is the constant for the "border-bottom-style" property tag.
// The "border-bottom-style" int property sets the line style of a view's bottom border.
// Valid values are NoneLine (0), SolidLine (1), DashedLine (2), DottedLine (3), and DoubleLine (4).
BorderBottomStyle = "border-bottom-style"
// BorderWidth is the constant for the "border-width" property tag.
// The "border-width" property sets the line width for all four sides of a view's border.
BorderWidth = "border-width"
// BorderLeftWidth is the constant for the "border-left-width" property tag.
// The "border-left-width" SizeUnit property sets the line width of a view's left border.
BorderLeftWidth = "border-left-width"
// BorderRightWidth is the constant for the "border-right-width" property tag.
// The "border-right-width" SizeUnit property sets the line width of a view's right border.
BorderRightWidth = "border-right-width"
// BorderTopWidth is the constant for the "border-top-width" property tag.
// The "border-top-width" SizeUnit property sets the line width of a view's top border.
BorderTopWidth = "border-top-width"
// BorderBottomWidth is the constant for the "border-bottom-width" property tag.
// The "border-bottom-width" SizeUnit property sets the line width of a view's bottom border.
BorderBottomWidth = "border-bottom-width"
// BorderColor is the constant for the "border-color" property tag.
// The "border-color" property sets the line color for all four sides of a view's border.
BorderColor = "border-color"
// BorderLeftColor is the constant for the "border-left-color" property tag.
// The "border-left-color" property sets the line color of a view's left border.
BorderLeftColor = "border-left-color"
// BorderRightColor is the constant for the "border-right-color" property tag.
// The "border-right-color" property sets the line color of a view's right border.
BorderRightColor = "border-right-color"
// BorderTopColor is the constant for the "border-top-color" property tag.
// The "border-top-color" property sets the line color of a view's top border.
BorderTopColor = "border-top-color"
// BorderBottomColor is the constant for the "border-bottom-color" property tag.
// The "border-bottom-color" property sets the line color of a view's bottom border.
BorderBottomColor = "border-bottom-color"
// Outline is the constant for the "outline" property tag.
// The "border" property sets a view's outline. It sets the values of an outline width, style, and color.
Outline = "outline"
// OutlineStyle is the constant for the "outline-style" property tag.
// The "outline-style" int property sets the style of an view's outline.
// Valid values are NoneLine (0), SolidLine (1), DashedLine (2), DottedLine (3), and DoubleLine (4).
OutlineStyle = "outline-style"
// OutlineColor is the constant for the "outline-color" property tag.
// The "outline-color" property sets the color of an view's outline.
OutlineColor = "outline-color"
// OutlineWidth is the constant for the "outline-width" property tag.
// The "outline-width" SizeUnit property sets the width of an view's outline.
OutlineWidth = "outline-width"
// Shadow is the constant for the "shadow" property tag.
// The "shadow" property adds shadow effects around a view's frame. A shadow is described
// by X and Y offsets relative to the element, blur and spread radius, and color.
// ...
Shadow = "shadow"
// FontName is the constant for the "font-name" property tag.
// The "font-name" string property specifies a prioritized list of one or more font family names and/or
// generic family names for the selected view. Values are separated by commas to indicate that they are alternatives.
// This is an inherited property, i.e. if it is not defined, then the value of the parent view is used.
FontName = "font-name"
// TextColor is the constant for the "text-color" property tag.
// The "color" property sets the foreground color value of a view's text and text decorations.
// This is an inherited property, i.e. if it is not defined, then the value of the parent view is used.
TextColor = "text-color"
// TextSize is the constant for the "text-size" property tag.
// The "text-size" SizeUnit property sets the size of the font.
// This is an inherited property, i.e. if it is not defined, then the value of the parent view is used.
TextSize = "text-size"
// Italic is the constant for the "italic" property tag.
// The "italic" is the bool property. If it is "true" then a text is displayed in italics.
// This is an inherited property, i.e. if it is not defined, then the value of the parent view is used.
Italic = "italic"
// SmallCaps is the constant for the "small-caps" property tag.
// The "small-caps" is the bool property. If it is "true" then a text is displayed in small caps.
// This is an inherited property, i.e. if it is not defined, then the value of the parent view is used.
SmallCaps = "small-caps"
// Strikethrough is the constant for the "strikethrough" property tag.
// The "strikethrough" is the bool property. If it is "true" then a text is displayed strikethrough.
// This is an inherited property, i.e. if it is not defined, then the value of the parent view is used.
Strikethrough = "strikethrough"
// Overline is the constant for the "overline" property tag.
// The "overline" is the bool property. If it is "true" then a text is displayed overlined.
// This is an inherited property, i.e. if it is not defined, then the value of the parent view is used.
Overline = "overline"
// Underline is the constant for the "underline" property tag.
// The "underline" is the bool property. If it is "true" then a text is displayed underlined.
// This is an inherited property, i.e. if it is not defined, then the value of the parent view is used.
Underline = "underline"
// TextLineThickness is the constant for the "text-decoration-thickness" property tag.
// The "text-decoration-thickness" SizeUnit property sets the stroke thickness of the decoration line that
// is used on text in an element, such as a line-through, underline, or overline.
// This is an inherited property, i.e. if it is not defined, then the value of the parent view is used.
TextLineThickness = "text-line-thickness"
// TextLineStyle is the constant for the "text-decoration-style" property tag.
// The "text-decoration-style" int property sets the style of the lines specified by "text-decoration" property.
// The style applies to all lines that are set with "text-decoration" property.
// This is an inherited property, i.e. if it is not defined, then the value of the parent view is used.
TextLineStyle = "text-line-style"
// TextLineColor is the constant for the "text-decoration-color" property tag.
// The "text-decoration-color" Color property sets the color of the lines specified by "text-decoration" property.
// The color applies to all lines that are set with "text-decoration" property.
// This is an inherited property, i.e. if it is not defined, then the value of the parent view is used.
TextLineColor = "text-line-color"
// TextWeight is the constant for the "text-weight" property tag.
// Valid values are SolidLine (1), DashedLine (2), DottedLine (3), DoubleLine (4) and WavyLine (5).
// This is an inherited property, i.e. if it is not defined, then the value of the parent view is used.
TextWeight = "text-weight"
// TextAlign is the constant for the "text-align" property tag.
// This is an inherited property, i.e. if it is not defined, then the value of the parent view is used.
TextAlign = "text-align"
// TextIndent is the constant for the "text-indent" property tag.
// This is an inherited property, i.e. if it is not defined, then the value of the parent view is used.
TextIndent = "text-indent"
// TextShadow is the constant for the "text-shadow" property tag.
// This is an inherited property, i.e. if it is not defined, then the value of the parent view is used.
TextShadow = "text-shadow"
// LetterSpacing is the constant for the "letter-spacing" property tag.
// The "letter-spacing" SizeUnit property sets the horizontal spacing behavior between text characters.
// This value is added to the natural spacing between characters while rendering the text.
// Positive values of letter-spacing causes characters to spread farther apart,
// while negative values of letter-spacing bring characters closer together.
// This is an inherited property, i.e. if it is not defined, then the value of the parent view is used.
LetterSpacing = "letter-spacing"
// WordSpacing is the constant for the "word-spacing" property tag.
// The "word-spacing" SizeUnit property sets the length of space between words and between tags.
// This is an inherited property, i.e. if it is not defined, then the value of the parent view is used.
WordSpacing = "word-spacing"
// LineHeight is the constant for the "line-height" property tag.
// The "line-height" SizeUnit property sets the height of a line box.
// It's commonly used to set the distance between lines of text.
// This is an inherited property, i.e. if it is not defined, then the value of the parent view is used.
LineHeight = "line-height"
// WhiteSpace is the constant for the "white-space" property tag.
// The "white-space" int property sets how white space inside an element is handled.
// Valid values are WhiteSpaceNormal (0), WhiteSpaceNowrap (1), WhiteSpacePre (2),
// WhiteSpacePreWrap (3), WhiteSpacePreLine (4), WhiteSpaceBreakSpaces (5)
// This is an inherited property, i.e. if it is not defined, then the value of the parent view is used.
WhiteSpace = "white-space"
// WordBreak is the constant for the "word-break" property tag.
// The "word-break" int property sets whether line breaks appear wherever the text would otherwise overflow its content box.
// This is an inherited property, i.e. if it is not defined, then the value of the parent view is used.
WordBreak = "word-break"
// TextTransform is the constant for the "text-transform" property tag.
// The "text-transform" int property specifies how to capitalize an element's text.
// It can be used to make text appear in all-uppercase or all-lowercase, or with each word capitalized.
// This is an inherited property, i.e. if it is not defined, then the value of the parent view is used.
TextTransform = "text-transform"
// TextDirection is the constant for the "text-direction" property tag.
// The "text-direction" int property sets the direction of text, table columns, and horizontal overflow.
// Use 1 (LeftToRightDirection) for languages written from right to left (like Hebrew or Arabic),
// and 2 (RightToLeftDirection) for those written from left to right (like English and most other languages).
// The default value of the property is 0 (SystemTextDirection): use the system text direction.
// This is an inherited property, i.e. if it is not defined, then the value of the parent view is used.
TextDirection = "text-direction"
// WritingMode is the constant for the "writing-mode" property tag.
// The "writing-mode" int property sets whether lines of text are laid out horizontally or vertically,
// as well as the direction in which blocks progress
// This is an inherited property, i.e. if it is not defined, then the value of the parent view is used.
WritingMode = "writing-mode"
// VerticalTextOrientation is the constant for the "vertical-text-orientation" property tag.
// The "vertical-text-orientation" int property sets the orientation of the text characters in a line.
// It only affects text in vertical mode ("writing-mode" property).
// This is an inherited property, i.e. if it is not defined, then the value of the parent view is used.
VerticalTextOrientation = "vertical-text-orientation"
// TextTverflow is the constant for the "text-overflow" property tag.
// The "text-overflow" int property sets how hidden overflow content is signaled to users.
// It can be clipped or display an ellipsis ('…'). Valid values are
TextOverflow = "text-overflow"
// Hint is the constant for the "hint" property tag.
// The "hint" string property sets a hint to the user of what can be entered in the control.
Hint = "hint"
// MaxLength is the constant for the "max-length" property tag.
// The "max-length" int property sets the maximum number of characters that the user can enter
MaxLength = "max-length"
// ReadOnly is the constant for the "readonly" property tag.
// This bool property indicates that the user cannot modify the value of the EditView.
ReadOnly = "readonly"
// Content is the constant for the "content" property tag.
Content = "content"
// Items is the constant for the "items" property tag.
Items = "items"
// Current is the constant for the "current" property tag.
Current = "current"
// Type is the constant for the "type" property tag.
Type = "type"
// Pattern is the constant for the "pattern" property tag.
Pattern = "pattern"
// CellWidth is the constant for the "cell-width" property tag.
CellWidth = "cell-width"
// CellHeight is the constant for the "cell-height" property tag.
CellHeight = "cell-height"
// RowGap is the constant for the "row-gap" property tag.
GridRowGap = "grid-row-gap"
// ColumnGap is the constant for the "column-gap" property tag.
GridColumnGap = "grid-column-gap"
// Source is the constant for the "src" property tag.
Source = "src"
// Fit is the constant for the "fit" property tag.
Fit = "fit"
backgroundFit = "background-fit"
// Repeat is the constant for the "repeat" property tag.
Repeat = "repeat"
// Attachment is the constant for the "attachment" property tag.
Attachment = "attachment"
// Clip is the constant for the "clip" property tag.
BackgroundClip = "background-clip"
// Gradient is the constant for the "gradient" property tag.
Gradient = "gradient"
// Direction is the constant for the "direction" property tag.
Direction = "direction"
// Repeating is the constant for the "repeating" property tag.
Repeating = "repeating"
// RadialGradientRadius is the constant for the "radial-gradient-radius" property tag.
RadialGradientRadius = "radial-gradient-radius"
// RadialGradientShape is the constant for the "radial-gradient-shape" property tag.
RadialGradientShape = "radial-gradient-shape"
// Shape is the constant for the "shape" property tag. It's a short form of "radial-gradient-shape"
Shape = "shape"
// CenterX is the constant for the "center-x" property tag.
CenterX = "center-x"
// CenterY is the constant for the "center-x" property tag.
CenterY = "center-y"
// AltText is the constant for the "alt-text" property tag.
AltText = "alt-text"
altTag = "alt"
// AvoidBreak is the constant for the "avoid-break" property tag.
// The "avoid-break" bool property sets how region breaks should behave inside a generated box.
// If the property value is "true" then fvoids any break from being inserted within the principal box.
// If the property value is "false" then allows, but does not force, any break to be inserted within
// the principal box.
AvoidBreak = "avoid-break"
// ItemWidth is the constant for the "item-width" property tag.
ItemWidth = "item-width"
// ItemHeight is the constant for the "item-height" property tag.
ItemHeight = "item-height"
// Wrap is the constant for the "wrap" property tag.
Wrap = "wrap"
// Min is the constant for the "min" property tag.
Min = "min"
// Max is the constant for the "max" property tag.
Max = "max"
// Step is the constant for the "step" property tag.
Step = "step"
// Value is the constant for the "value" property tag.
Value = "value"
// Orientation is the constant for the "orientation" property tag.
Orientation = "orientation"
// Anchor is the constant for the "anchor" property tag.
Anchor = "anchor"
// Gap is the constant for the "gap" property tag.
Gap = "gap"
// Text is the constant for the "text" property tag.
Text = "text"
// VerticalAlign is the constant for the "vertical-align" property tag.
VerticalAlign = "vertical-align"
// HorizontalAlign is the constant for the "horizontal-align" property tag.
// The "horizontal-align" int property sets the horizontal alignment of the content inside a block element
HorizontalAlign = "horizontal-align"
// ImageVerticalAlign is the constant for the "image-vertical-align" property tag.
ImageVerticalAlign = "image-vertical-align"
// ImageHorizontalAlign is the constant for the "image-horizontal-align" property tag.
ImageHorizontalAlign = "image-horizontal-align"
// Checked is the constant for the "checked" property tag.
Checked = "checked"
// ItemVerticalAlign is the constant for the "item-vertical-align" property tag.
ItemVerticalAlign = "item-vertical-align"
// ItemHorizontalAlign is the constant for the "item-horizontal-align" property tag.
ItemHorizontalAlign = "item-horizontal-align"
// ItemCheckbox is the constant for the "checkbox" property tag.
ItemCheckbox = "checkbox"
// CheckboxHorizontalAlign is the constant for the "checkbox-horizontal-align" property tag.
CheckboxHorizontalAlign = "checkbox-horizontal-align"
// CheckboxVerticalAlign is the constant for the "checkbox-vertical-align" property tag.
CheckboxVerticalAlign = "checkbox-vertical-align"
// NotTranslate is the constant for the "not-translate" property tag.
// This bool property indicates that no need to translate the text.
// This is an inherited property, i.e. if it is not defined, then the value of the parent view is used.
NotTranslate = "not-translate"
// Filter is the constant for the "filter" property tag.
// The "filter" property applies graphical effects like blur or color shift to a View.
Filter = "filter"
// Clip is the constant for the "clip" property tag.
// The "clip" property creates a clipping region that sets what part of a View should be shown.
Clip = "clip"
// Points is the constant for the "points" property tag.
Points = "points"
// ShapeOutside is the constant for the "shape-outside" property tag.
// The "shape-outside" property defines a shape (which may be non-rectangular) around which adjacent
// inline content should wrap. By default, inline content wraps around its margin box;
// "shape-outside" provides a way to customize this wrapping, making it possible to wrap text around
// complex objects rather than simple boxes.
ShapeOutside = "shape-outside"
// Float is the constant for the "float" property tag.
// The "float" property places a View on the left or right side of its container,
// allowing text and inline Views to wrap around it.
Float = "float"
)