Is there any secret setting to make the left side button, to expand/collapse XTREE levels, bigger? It always look too small compared with the text and, even zooming or scaling, it still stays small.
Is this only me being picky or, at least, some of my dear fellows have the same feeling?
I've been wondering about that problem myself. It's clearly connected somehow with higher res screens, although I'm not sure if it crept in during a Windows update, an XTREE update, a hardware update, or changes in A-Shell for dpm support. But when I compare A-Shell's XTREE grids to generic samples from the control supplier, the buttons are the same. However, there are some alternative button styles that we could implement, although I'm not completely sure they're that much of an improvement. But you decide...
"Wide" buttons...
"Large" buttons ...
"Standard" buttons ...
Note that these examples all use the default font which is quite small, making the buttons look less out of place. I think one part of the problem with XTREE is that it's easy to make the fonts larger, but that scaling doesn't affect the buttons.
You're right, it becomes worst when the font is bigger. In my XTREE menu, using the default font, which is small, those buttons are also small but proportional to the text. When the user CTRL+Scroll to make it bigger, those buttons look weird. In both cases, they don't work fine in touch screens and, even with the mouse, it's not that easy to click and work on the first attempt.
If not complicated, I would like to give a chance to your "large buttons" besides I don't like the yellow arrows inside. No hurry.
Thanks
Last edited by Jorge Tavares - UmZero; 15 Sep 2104:13 PM.
Right - I didn't like those yellow arrows either. There are a couple of other options we can explore. One is to use another embedded feature (requiring some new flags to expose) referred to as "plus/minus" buttons, which is yet another bitmap that can be used to identify and toggle the item levels. (It seemed weird and redundant to me to have both, but...) The other is to come up with custom bitmaps for the buttons. This image shows an example of both ...
The problem with the bitmaps is that they also must have a fixed size. So it's hard to make them adjust to the font size. But perhaps we could come up with an alternate set that was, say, twice as big as the standard ones but otherwise the same style, and allow the app to just select it via a one bit option in one of the XTRCTL fields?
Version 6.5.1706.0 attempts to increase the size of the expand/collapse buttons and checkboxes/radiobuttons based on various heuristics. Here's an example ...
Wait! Apologize, but the bigger button was working fine in some of my programs, but not all, including my main menu what induced in wrong evaluation. Now I'm searching what is different in the XTREE setup that explains the behavior difference.
Anyway, this last version fixes the error on splitted XTREEs.
Last edited by Jorge Tavares - UmZero; 27 Sep 2104:09 AM.
I haven't seen that problem, but will admit to having seen cases where the button sizes appear to be getting auto-scaled, or not, based on as-yet-unrecognized factors. (I also run into this problem in apps unrelated to A-Shell, so it's presumably due, more generally, to the mysterious inner workings of the Windows high-resolution scaling logic.)
In your example above, the outer tree on the left is actually a separate instance of A-Shell, correct? Are both instances getting launched with the same -dpm option (i.e. both using it or both not)? Any chance of capturing the XTREE + XDEBUG traces? (It might be necessary to add it temporarily to the miame.ini.)