Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
  • Tao Bao's avatar
    ee6fefd2
    screen_ui: Word-wrap menu headers. · ee6fefd2
    Tao Bao authored
    This CL adds ScreenRecoveryUI::DrawWrappedTextLines() to better handle
    long menu header texts. It does a word wrap at spaces, if available.
    This avoids fixed-length menu headers being truncated on small screens.
    
    Bug: 64293520
    Test: On bullhead, boot into recovery with --prompt_and_wipe_data, and
          check the prompt texts.
    Change-Id: Ia22746583516dd230567a267584aca558429395e
    (cherry picked from commit 2bbc6d642d1fbfb007905d95b629fe5f833b2a1b)
    ee6fefd2
    screen_ui: Word-wrap menu headers.
    Tao Bao authored
    This CL adds ScreenRecoveryUI::DrawWrappedTextLines() to better handle
    long menu header texts. It does a word wrap at spaces, if available.
    This avoids fixed-length menu headers being truncated on small screens.
    
    Bug: 64293520
    Test: On bullhead, boot into recovery with --prompt_and_wipe_data, and
          check the prompt texts.
    Change-Id: Ia22746583516dd230567a267584aca558429395e
    (cherry picked from commit 2bbc6d642d1fbfb007905d95b629fe5f833b2a1b)
Loading