change group box title font size code example Example: change group box title font size QGroupBox { font-size: 18px; font-weight: bold; }