Print Page | Close Window

skin font size does not reflect system font size

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Skin Framework
Forum Description: Topics Related to Codejock Skin Framework
URL: http://forum.codejock.com/forum_posts.asp?TID=8281
Printed Date: 16 November 2024 at 9:45am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: skin font size does not reflect system font size
Posted By: vjedlicka
Subject: skin font size does not reflect system font size
Date Posted: 03 October 2007 at 3:30pm

Hello,

I am setting a skin this way:


 XTPSkinManager()->SetApplyOptions(XTPSkinManager()->GetApplyOptions() | xtpSkinApplyMetrics);
 XTPSkinManager()->LoadSkin(m_strStylesPath + _T("WinXP.Luna.cjstyles"), _T("NormalBlue.ini")); 


The fonts (in windows captions and controls) do not reflect the system-wide font size. The always remain the same. Is it possible the skin fonts' size change when user changes the system font size?

Thank you
Vaclav




Replies:
Posted By: Oleg
Date Posted: 04 October 2007 at 3:17am
Option xtpSkinApplyMetrics shows to use Font from skin. Don't add it if you don't want it.
 
XTPSkinManager()->SetApplyOptions(XTPSkinManager()->GetApplyOptions() & ~xtpSkinApplyMetrics);


-------------
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net