Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Overflow ¶
type Overflow int
Overflow controls if the text is allowed to spill outside it's contained While WordBreak controls what to do in the case of OverflowWrap
type Properties ¶
type WordBreak ¶
type WordBreak int
WordBreak controls what happens to text greater than its width when OverflowWrap is selected.
const ( // Normal Use the default line break rule. Normal WordBreak = iota // BreakAll To prevent overflow, word breaks should be inserted between any // two characters (excluding Chinese/Japanese/Korean text). BreakAll // KeepAll Word breaks should not be used for Chinese/Japanese/Korean (CJK) // text. Non-CJK text behavior is the same as for normal. KeepAll )
Click to show internal directories.
Click to hide internal directories.