Not all of the text visible-keyword panel

Started by frlindla, August 01, 2021, 10:01:58 AM

Previous topic - Next topic

frlindla

Take a look at the attachment. This happens in the keyword panel. What can I do to make all text visible in full size?

Mario

This font size looks huge. Strange.
This is a normal Windows list box, it should automatically adapt to whatever system font size is used.
Don't recall having seen something like this before.

Which DPI settings do you use for your system (the "Scale and layout" in the Display settings in Windows).
Which display width/height?
-- Mario
IMatch Developer
Forum Administrator
http://www.photools.com  -  Contact & Support - Follow me on 𝕏 - Like photools.com on Facebook

frlindla

#2
I have two screens/displays.

One 4K: 3840x2160 (scale 200%)
One other: 1920x1200 (scale 100%)

The keyword panel is on the 1920x1200 screen.

I can increase the font size, but the font size in the picture I sent (were suggestions show up when you start to write) does not show all the text or the text is shown in full size but is very small.


Mario

QuoteI can increase the font size

How? Where?

Quoteor the text is shown in full size but is very small.

When is the text shown in full size? When is it shown very small?
I cannot really follow, sorry.

This looks like the list box calculates the text height wrong, for some reason.
I've checked the code but it looks OK. It calculates the height based on the font used by the list box, using built-in Windows routines. It should "just work".
Do you have problems with list boxes elsewhere in IMatch? Filter panel? File Window search bar?
-- Mario
IMatch Developer
Forum Administrator
http://www.photools.com  -  Contact & Support - Follow me on 𝕏 - Like photools.com on Facebook

frlindla

I can increase the font size from the settings in the keyword panel. That seems to increase the font size in the window with the recent keywords (see attachment).

After increasing font size and trying to write in the box with text "Enter new keywords here", the text I write does not show full height of the letters and the suggestions below is with very small font, but full height (can see the full height of the letters).


frlindla

I have no problem with this elsewhere in Imatch. Could this issue be related to the fact that my screens have different resolution?

Mario

I think I could reproduce this by forcing the font size to become very large (like, 10 times using "Increase").
This somehow messed up the automatic "item height" calculation of the Windows list box control used. And, strangely, also for the edit control. But that might be due to the dialog base units mess in Windows...

Anyway, I now calculate the item height for each item manually and also for the editor. And it looks OK on my system now, even for very large font sizes:



-- Mario
IMatch Developer
Forum Administrator
http://www.photools.com  -  Contact & Support - Follow me on 𝕏 - Like photools.com on Facebook

frlindla

"Anyway, I now calculate the item height for each item manually and also for the editor"

How did you do this? Somewhere in Imatch or a windows setting?

Mario

-- Mario
IMatch Developer
Forum Administrator
http://www.photools.com  -  Contact & Support - Follow me on 𝕏 - Like photools.com on Facebook

frlindla

Could you please tell me where in Imatch you found the setting to adjust this? ;)

Mario

This is not something you can change. This is something I did in the code for IMatch 2021.
I could only reproduce the effect you are seeing by using the "increase font" more than 10 times - so I think this is not something other users will ever experience.
-- Mario
IMatch Developer
Forum Administrator
http://www.photools.com  -  Contact & Support - Follow me on 𝕏 - Like photools.com on Facebook

frlindla

Thank you:) Then this will be solved in Imatch 2021:) Thanks!

Mario

-- Mario
IMatch Developer
Forum Administrator
http://www.photools.com  -  Contact & Support - Follow me on 𝕏 - Like photools.com on Facebook