https://bugs.kde.org/show_bug.cgi?id=498582

            Bug ID: 498582
           Summary: GroupBox caption is truncated
    Classification: Plasma
           Product: Breeze
           Version: 6.2.5
          Platform: Arch Linux
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: QStyle
          Assignee: plasma-b...@kde.org
          Reporter: finalcountdow...@googlemail.com
                CC: noaha...@gmail.com, uhh...@gmail.com
  Target Milestone: ---

Created attachment 177309
  --> https://bugs.kde.org/attachment.cgi?id=177309&action=edit
Example project and screenshot

SUMMARY
When using a point size of less than 10, GroupBox captions are truncated. 

STEPS TO REPRODUCE
Create a QGroupBox widget with caption "GroupBox1" and a Noto Sans font with a
point size of 8.

I've attached an example project exhibiting the problem.

OBSERVED RESULT
The centered GroupBox caption text is truncated at the left and right. The
lower the size, the more pronounced the truncation. It seems the actual font
size does not go down, only the width determined via QFontMetrics.size goes
down, causing the truncation.

The attachment contains a screenshot.

EXPECTED RESULT
The caption is legible in its entirety. With the 'Fusion' and 'Windows' qt
styles, it's working as expected.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: EndeavourOS, kernel 6.12.8, Wayland
KDE Plasma Version: 6.2.5
KDE Frameworks Version: 6.9.0
Qt Version: 6.8.1

ADDITIONAL INFORMATION
The logicalDotsPerInch values of my screen are all 96, screen scale factor in
KDE settings is 100%.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to