Professional UI Solutions
Site Map   /  Register
 
 

Forum

Please Log In to post a new message or reply to an existing one. If you are not registered, please register.

NOTE: Some forums may be read-only if you are not currently subscribed to our technical support services.

Forums » Prof-UIS Tech Support » Tab text clipped in 144 DPI Collapse All
Subject Author Date
Dominic Tioseco Jun 26, 2014 - 2:01 PM

Hi,



I am trying to solve the problem about text being clipped in high DPI screens particularly 144 DPI. 

I have downloaded your latest samples for ProfUIS 3.0.1.  I have two of your demo applications for example: FilteredGrids and Prof-UIS Controls using tab containers. 



In 144 DPI, the tab texts are clipped although there is a type of tab text (in the Prof-UIS Controls demo lower portion) that does not get clipped.



I want to know if there is a quick fix for this, one that I can change in your source code instead of overriding the OnTabWndDrawItem and changing the font size in my own code.


The following are the demo applications mentioned, in 144 DPI -- notice the tab texts being clipped although in the second example the lower tab texts are not clipped.



Thanks,

Dominic (developer)

Vorum Research Corporation


 


 



 


Art Wilkes Jun 27, 2014 - 9:37 AM

Prof-UIS Support
After checking you were right.
We fixed many scaling issues last time but apparently not these two.
These will be fixed in our next release.
We will also send you the updated files as soon as they are corrected. Hopefully sometime next week.
Thanks for bringing this to our attention.
Prof-UIS support.

Dominic Tioseco Jun 26, 2014 - 6:20 PM

Hi Art,



The problem still occurs even though these examples are compiled with Manifest Tool | Enable DPI awareness set to Yes.  (Visual Studio 2010 in Windows 7)



Looking at the source code and comparing CExtTabFlatWnd and CExtTabWnd, although I understand that the CExtTabFlatWnd is derived from CExtTabWnd, could it be that CExtTabWnd::OnSizeParent and CExtTabFlatWnd::OnSizeParent have different implementations so that eventually the CExpPaintManager::UiScalingDo is called on one and not the other?



Dominic

Art Wilkes Jun 26, 2014 - 3:31 PM

I believe that was fixed in 3.01.
However you need to set the dpi aware flag in the project | manifest as having the code set this flag and having it set in the project caused a problem in Windows App certifications.
If you are still having trouble