xTuple.com xTupleU Blog & News Customer Support

Change font in xtreewidget

I can control foreground and background colors in xtreewidget using qtforegroundrole and qtbackgroundrole and setting its value to the RGB color I want.

Is there something like that but for font? Like qtfontrole = BOLD?



You can change the font with column_qtfontrole. This is controls the font family, such as “Courier”, not bold vs. italic.