Skip to content

Conversation

@shai-almog
Copy link
Collaborator

Motivation

  • Document how Codename One responds to the OS larger-text accessibility setting and how to consume that information in apps.
  • Explain how the theme system can automatically apply the larger-text scale so developers can enable it without manual font adjustments.
  • Surface the useLargerTextScaleBool theme constant so designers can enable the behavior from the Designer or theme file.

Description

  • Added a new Larger Text Accessibility section to docs/developer-guide/Miscellaneous-Features.asciidoc explaining Display.isLargerTextEnabled() and Display.getLargerTextScale() with a usage example.
  • Documented how to enable automatic scaling via UIManager.getInstance().setUseLargerTextScale(true) and the theme constant useLargerTextScaleBool.
  • Added a useLargerTextScaleBool entry to the theme constants table in docs/developer-guide/Advanced-Theming.asciidoc.

Testing

  • No automated tests were run because this is a documentation-only change.
  • No code behavior was modified, so unit test suites were not invoked as part of this update.

Codex Task

@github-actions
Copy link

Developer Guide build artifacts are available for download from this workflow run:

Developer Guide quality checks:

  • AsciiDoc linter: No issues found (report)
  • Vale: 18764 alert(s) (2764 errors, 6366 warnings, 9634 suggestions) (exit code 1) (report)
  • Image references: No unused images detected (report)

@shai-almog shai-almog merged commit 7edd84e into master Jan 10, 2026
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants