Skip to content
  • ivan tkachenko's avatar
    [applets/appmenu] Set MenuDelegate's textFormat explicitly to StyledText · e37baaeb
    ivan tkachenko authored and Nate Graham's avatar Nate Graham committed
    Generally, this property should be set on every Text component that we
    write. It avoids ambiguity and extra potentially expensive parsing step
    with heuristics. Here, we know for sure that the label is in rich text
    format.
    
    Text.StyledText format is computationally cheaper than the Text.RichText,
    while still getting its job done: displaying the underlined letters when
    Alt is key pressed.
    e37baaeb