Skip to content
Snippets Groups Projects

DDLightbarMenu: Fix for text & text column alighment issues with UTF-8 text

Merged Eric Oulashin requested to merge dd_lightbar_menu_item_write_UTF8_alignment_fix into master

Probably due to UTF-8 strings having variable-length characters, some strings with UTF-8 characters have a shorter printed length than expected, which can affect column alighments with items that have different pieces of data in 'columns', etc. For menu items with UTF-8 text that have color definitions that are arrays (signifying different colors for different 'columns' of data), the cursor is now positioned properly on the screen for each 'column' of data, and the intended width is filled in so that everything is properly aligned.

Merge request reports

Pipeline #6009 passed

Pipeline passed for ec70de85 on dd_lightbar_menu_item_write_UTF8_alignment_fix

Approval is optional

Merged by Rob SwindellRob Swindell 1 year ago (Feb 29, 2024 9:53am UTC)

Merge details

  • Changes merged into master with 4ec008ed (commits were squashed).
  • Deleted the source branch.
  • Auto-merge enabled

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
Please register or sign in to reply
Loading