I made a custom skin file, based on Office 2007 Blue file. The difference is new style's fonts are bigger for easier reading.
I use custom components derived from ultracombo, ultramaskededit, ultratexteditor etc.
Here is a sample:
public partial class mTextEditor : UltraMaskedEdit
{
public mTextEditor()
InitializeComponent();
}
If my component derived from UltraMaskedEdit like in sample and if i apply bigger font style file, it's size does not change in runtime. Just fonts get bigger like expected.
But if my component derived from UltraTextEditor and if i apply bigger font style file it's size changes at runtime. How can i prevent this ?
I just want fonts get bigger but not it's own height.
Ps: Here is the link for new style file: http://www.mikrokom.com/download/Office2007BiggerFonts.zip
Thank you. It works fine now.
Hi,
It sounds like you need to turn off the AutoSize property on the UltraTextEditor.