Skip to content

Center chapter title in the status bar #354

@pablohc

Description

@pablohc

Affected Version

v0.13.1

Describe the Bug

The chapter title is misaligned and not centered on the device screen. When hiding or showing elements in the status bar, the layout looks disorganized.
The chapter title should always remain centered on the device, regardless of which status bar elements are visible or hidden. If the available space is smaller than the full title length, display an ellipsis (...) at the end of the title to indicate truncation.

Steps to Reproduce

  1. Open a book and navigate to a chapter with a long title.
  2. Hide or show elements in the status bar (e.g., battery, progress).
  3. Observe that the chapter title shifts and is not centered.

Expected Behavior

The chapter title should always be centered on the screen, and if the space is insufficient, the title should be truncated with "..." at the end

Relevant Log Output/Screenshots

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingtriageBug to be triaged

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions