From 8ac5687eb4d9986d81231d16251ca3cd8a168b89 Mon Sep 17 00:00:00 2001 From: David Aguilar Date: Fri, 30 Nov 2018 19:43:14 -0800 Subject: [PATCH] doc: document QT_AUTO_SCREEN_SCALE_FACTORS for High-DPI displays See-also: https://doc.qt.io/qt-5/highdpi.html Signed-off-by: David Aguilar --- share/doc/git-cola/git-cola.rst | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/share/doc/git-cola/git-cola.rst b/share/doc/git-cola/git-cola.rst index 53da188c..366ed402 100644 --- a/share/doc/git-cola/git-cola.rst +++ b/share/doc/git-cola/git-cola.rst @@ -688,6 +688,14 @@ Read the section on `cola.icontheme` above for more details. GIT_COLA_SCALE -------------- +.. Important:: `GIT_COLA_SCALE` should not be used with newer versions of Qt. + + Set `QT_AUTO_SCREEN_SCALE_FACTOR` to `1` and Qt will automatically + scale the interface to the correct size based on the display DPI. + + See the `Qt High DPI documentation `_ + for more details. + `git cola` can be made to scale its interface for HiDPI displays. When defined, `git cola` will scale icons, radioboxes, and checkboxes according to the scale factor. The default value is `1`. -- 2.11.4.GIT