trinity-devel@lists.pearsoncomputing.net

Message: previous - next
Month: December 2017

Re: [trinity-devel] TDE on dense small screens

From: "E. Liddell" <ejlddll@...>
Date: Mon, 11 Dec 2017 17:08:31 -0500
On Sat, 9 Dec 2017 19:21:19 -0800
Vincent Reher <tde@...> wrote:

> The remaining issue concerns TDE window/menu controls that are too small.  These include window resizing double-arrows, window scrollbar and associated up and down arrows, the menu-submenu right arrow, list expand-collapse (+/-) controls, checkboxes, and radio buttons.
> 
> I suspect that these resources are part of QT3 but don't really know for sure.  I suspect QT3 because applications that do not use that toolkit (e.g. LibreOffice and Firefox) do not manifest the problem. 
> 
> I am hoping that somebody more knowledgeable about GUI configuration and programming can point me in the right direction.  Is this something that can be corrected via a configuration file (e.g. qtrc)?  If not, can somebody point me to where in in the source code tree I should be looking and what I would need to do to correct this?

Widget appearances are dictated by the style code, which is applied by QT3.  You would 
have to either fix QT3 or create a new widget style to make everything correctly HiDPI-sensitive.  
However, you *may* be able to improve your experience somewhat by selecting the "High 
Contrast" style and turning on "Use wider lines" in its configuration.  This will make most widgets 
somewhat larger.  It isn't the most elegant style, though.

If you are interested in authoring your own widget style (requires C++ knowledge, 
unfortunately), you can find existing styles in tdelibs/tdestyles and tdeartwork/styles.

If you want to patch QT3 directly, my guess is that you would have to look at
qt3/src/styles/qcommonstyle.cpp , which has a lot of size-related magic constants
you could play with.

E. Liddell