Change Font Size through out the application
-
Hi guys, We have a C# Windows application, now user ask if we can enlarge the font size through the whole application. I wonder how should we accomplish it? And one more, if we do so, do we end up massing around the layout? Thanks,
You can recursively loop through the .Controls of the form (and all controls that are children of other controls) and set the .Font property of each. Should be easy. This won't mess up the layout of the application (i.e. your buttons won't move) however, if the text is large enough some of it obviously won't be visible. #include "witty_sig.h"
-
Hi guys, We have a C# Windows application, now user ask if we can enlarge the font size through the whole application. I wonder how should we accomplish it? And one more, if we do so, do we end up massing around the layout? Thanks,
Controls normally 'inherit' the font of the containing control/form. top secret xacc-ide 0.0.1