Alternative Fonts / Font Sizes?

Hi,

In the GUI scripts that I'm working on, I'm getting a little tired of the small size & shape of the standard font that appears in

all of the DAZ scripting widgets.  Has anyone succeeded in outputting any other kinds / sizes of fonts?  If anyone has, I'd be

interested to see the code fragments.   Thanks.

Comments

  • PraxisPraxis Posts: 254

    The only DzWidget I know of that supports font changes is DzTextEdit, which provides properties such as .pointSize, .textColor, .bold, .font, .family, etc.

     

  • jag11jag11 Posts: 885

    The only successful way is using Qt Designer, set QDialog styleSheet property and all child controls adopt parent settings.

    Save the dialog as a .UI file and load it from a script.

    Only way 2021-04-16 113716.png
    1027 x 559 - 78K
  • PraxisPraxis Posts: 254

    jag11 said:

    The only successful way is using Qt Designer, set QDialog styleSheet property and all child controls adopt parent settings.

    Save the dialog as a .UI file and load it from a script.

    Hah!  That works.  Thank you! smiley

     

  • Richard HaseltineRichard Haseltine Posts: 100,905

    Do bear in mind that Daz is working on updating the Qt version used, soemthing we have been told is necessary for the application to suppot scaling. Using tricks to get a degree of scaling now may cause issues if application-wide scaling becomes available.

Sign In or Register to comment.