Skip to content

MEllipsisTextStyle

Stanislav Podolia edited this page Jul 21, 2020 · 6 revisions

Flow Wiki

MEllipsisTextStyle

  • MEllipsisStyle

  • MFontStyle

      * **[MThemeColor](MThemeColor)**<br />
      	* **[MColor](MColor)**<br />
      		https://www.google.com/design/spec/style/color.html#color-color-palette<br />
      		To construct a color, use one of the functions below<br />
      		* **color** : [MColorName](MColorName)<br />
      		* **shade** : int<br />
      		* **accent** : bool<br />
    
      	* **MPrimaryColor**<br />
    
      	* **MPrimaryVariantColor**<br />
    
      	* **MSecondaryColor**<br />
    
      	* **MSecondaryVariantColor**<br />
    
      	* **MBackgroundColor**<br />
    
      	* **MSurfaceColor**<br />
    
      	* **MToolbarColor**<br />
    
      	* **MErrorColor**<br />
    
      	* **MOnPrimaryColor**<br />
    
      	* **MOnSecondaryColor**<br />
    
      	* **MOnBackgroundColor**<br />
    
      	* **MOnSurfaceColor**<br />
    
      	* **MOnToolbarColor**<br />
    
      	* **MOnErrorColor**<br />
    
      	* **MContrastingTextColor**<br />
      		* **background** : [MThemeColor](MThemeColor)<br />
    
      	* **MThemedColor**<br />
      		* **light** : [MColor](MColor)<br />
      		* **dark** : [MColor](MColor)<br />
    
    
      * **MDynamicColor**<br />
      	* **color** : [Transform](Transform)\<[MColor](MColor)\><br />
    
      * **MTextDisabled**<br />
    
  • Underlined

  • EscapeHTML

  • LetterSpacing

  • TagName

  • LangAttribute

    • MShowTooltip

    • MDisableOnDragging
      Hide tooltip if something is being dragged

    • MMinWidth

      • width : double
  • MMaxLines
    Sets height of the box if input is multiline
    Calculates height by the content if lines parameter equals 0 or -1 (affects MTextInput only)
    If lines parameter < -1, calculates height by the content but limits its height to abs(lines parameter) lines (no limits for MEllipsisText)
    For example, with MMaxLines(-4) input height can grow from 1 up to 4 lines

    • lines : int
  • MTruncateFromStart

  • MTooltipMaxWidth

    • width : double
  • MTextIsTruncated
    400. by default

    • isTruncated : DynamicBehaviour<bool>
  • CenterAlign

  • RightAlign

  • MFullWidth
    Style for expand space between columns to full width

  • InterlineSpacing

  • MTextVariants

    • variants : [ string ]
Clone this wiki locally