Is there a way to set a default font for the whole Shell such that any new control will use that same font?
It seems that right now I have to set the font for every control I create, which leads to too much redundancy.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Font which is used by default is chosen by platform (see other info in Class Font – SWT: The Standard Widget Toolkit), so it’s not possible to set default font for all widgets, if you want that, you have to do it “by hand”..
Why are you changing default font anyway..?