# G4P Library / GUI builder: Set default font for all GUI elements in one go?

**URL:** <https://discourse.processing.org/t/g4p-library-gui-builder-set-default-font-for-all-gui-elements-in-one-go/15658>\
**Category:** Libraries\
**Created:** [November 20, 2019, 12:19pm UTC](https://discourse.processing.org/t/g4p-library-gui-builder-set-default-font-for-all-gui-elements-in-one-go/15658 "2019-11-20T12:19:23Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![quark](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/quark/32/26_2.png) [@quark](https://discourse.processing.org/u/quark)\
**Post date:** [December 31, 2019, 6:39pm UTC](https://discourse.processing.org/t/g4p-library-gui-builder-set-default-font-for-all-gui-elements-in-one-go/15658/4 "2019-12-31T18:39:35Z")

</div>

In 4.3.1 (latest version) the user can specify the global font face, style and size for display (buttons, labels etc.), input (textfield, textarea and password fields) and slider (values displayed in slider controls)  
The methods can be found in the G4P class and have the patteren  
`G4P.set?????Font(String face, int style, int size)`

If using GUI Builder 4.3 these methods must be called in `setup` before the call to `createGUI` to have effect.

In GUI Builder 4.4 (to be released) these will be changeable in the design window. NOTE GUI Builder 4.4 will not be able to load and edit GUIs created with 3.3

---

_[View the full topic](https://discourse.processing.org/t/g4p-library-gui-builder-set-default-font-for-all-gui-elements-in-one-go/15658)._
