Daytron / SimpleDialogFX

Lightweight dialog API for JavaFX.
https://daytron.github.io/SimpleDialogFX/
MIT License
21 stars 2 forks source link

Add separate methods for changing font style for header and details labels #15

Closed Daytron closed 9 years ago

Daytron commented 9 years ago

Currently, a variety of set font methods, globally updates the font style for both header and details label. Adding separate methods for each, can provide more flexible options for devs to customize the dialog.

Propose methods are:

setHeaderFontSize(int font_size)
setDetailsFontSize(int font_size)

setHeaderFontFamily(String font_family)
setDetailsFontFamily(String font_family)

setHeaderFont(String font_family, int font_size)
setDetailsFont(String font_family, int font_size)