Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • Krita Krita
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Bugzilla
    • Bugzilla
  • Merge requests 72
    • Merge requests 72
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Releases
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Jobs
  • Commits
Collapse sidebar
  • GraphicsGraphics
  • KritaKrita
  • Merge requests
  • !1267

Fix toolbox layout for right-to-left and add option to force LTR/RTL

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged Alvin Wong requested to merge alvinwong/krita:alvin/toolbox-rtl-fix into master Dec 30, 2021
  • Overview 15
  • Commits 4
  • Pipelines 16
  • Changes 6

This fixes the toolbox layout for RTL by properly mirroring everything. But I don't know if this is what RTL users really expects. In addition, it can be switched to LTR or RTL explicitly via the context menu:

圖片

In auto mode, when docked on the left or right side it automatically uses the LTR or RTL layout respectively, otherwise it follows the UI layout direction set by the language.

The vertical docker title bar being on the left is an oddball (probably a bug) in QDockWidget... (Reported upstream: https://bugreports.qt.io/browse/QTBUG-100323)

圖片 圖片

We will need some opinions from RTL users before merging this. (Done)

Edited Feb 03, 2022 by Alvin Wong
Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: alvin/toolbox-rtl-fix