Set default font for SWT Shell

Is there a way to set the default font for the entire Shell so that any new control uses the same font?

It seems that now I have to install a font for each control that I create, which leads to redundancy.

+6
source share
1 answer

The default font is selected by the platform (see other information in Class Font - SWT: standard widget set ), therefore it is not possible to set the default font for all widgets, if you want it, you must do it "manually".

Why are you changing the default font anyway ??

+2
source

Source: https://habr.com/ru/post/896070/


All Articles