Thanks a lot for your mail. It helps. Essentially moved https://doc.qt.io/qt-5/stylesheet-reference.html#font-prop from pixels to points and fixed the hardcoded layouts. Adjusting the QT_AUTO_SCREEN_SCALE_FACTOR and QT_FONT_DPI to scale ccordingly.
On Wed, Nov 11, 2020 at 11:51 PM Thiago Macieira <thiago.macie...@intel.com> wrote: > On Wednesday, 11 November 2020 09:24:14 PST Ramakanth Kesireddy wrote: > > Inorder to adjust across all the screens, do I need to set export > > QT_AUTO_SCREEN_SCALE_FACTOR=1? > > Yes. Or set the QT_SCREEN_SCALE_FACTORS variable. Or both, or set the AUTO > one > to 0. They interact in weird and sometimes counter-intuitive ways. > > On my laptop, I have: > QT_AUTO_SCREEN_SCALE_FACTOR=0 > QT_SCREEN_SCALE_FACTORS=2;2 > > And X was is started with the command-line option "-dpi 216". > -- > Thiago Macieira - thiago.macieira (AT) intel.com > Software Architect - Intel DPG Cloud Engineering > > > > _______________________________________________ > Interest mailing list > Interest@qt-project.org > https://lists.qt-project.org/listinfo/interest >
_______________________________________________ Interest mailing list Interest@qt-project.org https://lists.qt-project.org/listinfo/interest