|
codemorphis.com Software development: pure and simple.
|
View previous topic :: View next topic |
Author |
Message |
yodatek2k
Joined: 01 Feb 2009 Posts: 4 Location: New York
|
Posted: Mon Feb 02, 2009 11:41 am Post subject: Default Font |
|
|
Hello,
How do I set a default font, and size, for use throughout the entire program? Thanks. |
|
Back to top |
|
|
CodeMorphis
Joined: 02 Dec 2003 Posts: 252
|
Posted: Mon Feb 02, 2009 2:15 pm Post subject: |
|
|
Hi yodatek2k.
There is in fact supposed to be way to do this but upon verifying this method, it appears that there is a bug that needs to be fixed.
Normally, what you would do is the following:
- Double-click the Windows Form to bring up its property page
- Set the Font property as desired
- For any contained UI component that you want to inherit the Window Forms property, bring up it's property page and delete the Font property (select the Font property data) and delete it
What is supposed to happen is that the UI component will inherit the Font property from the parent Windows Form.
This actually will work now but only on the first setting of the property. You may notice that after you do this and then change the Font property of the Windows Form again, the UI component's Font property does not re-inherity the new Font setting, but rather keeps the old value. You currently have to re-delete the UI component's Font property to make it pull the form's font setting (this is a bug that we will look into).
Also, it appears that when the Windows Form's Font property size is set to a value greater than 8 or 8.25 then each time you close and then reopen the form the form gets re-sized along with any contained UI components. This is an issue that is being addressed.
For the time being you will need to set the font for your UI components directly. We will look into these issues. Sorry for any inconvenience. |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|