https://bugs.kde.org/show_bug.cgi?id=453146
Bug ID: 453146 Summary: KisIntegerParseSpinBox and KisDoubleParseSpinBox's sizeHint().height() sometimes returns 26 and sometimes 25 based on the parent element Product: krita Version: git master (please specify the git hash!) Platform: Other OS: Linux Status: REPORTED Severity: normal Priority: NOR Component: Dockers Assignee: krita-bugs-n...@kde.org Reporter: littlelightlittlef...@gmail.com Target Milestone: --- Hash: e53f968 (currrent master), bug filed at the request of amyspark on IRC SUMMARY While working on the HSV color selector (https://invent.kde.org/graphics/krita/-/merge_requests/1434) I've noticed that `Kis{Integer,Double}ParseSpinBox` `sizeHint().height()` returns different sizes. STEPS TO REPRODUCE 1. Pull the code from https://invent.kde.org/graphics/krita/-/merge_requests/1434 2. On this line: https://invent.kde.org/graphics/krita/-/merge_requests/1434/diffs#c802f9b62a00b267298f79be7ad4b5dc821ee2bd_438_480 3. Add a `qDebug() << input->sizeHint().height()` 4. On this line: https://invent.kde.org/graphics/krita/-/merge_requests/1434/diffs#c802f9b62a00b267298f79be7ad4b5dc821ee2bd_56_57 5. Add a `qDebug() << m_input->sizeHint().height` here 6. Open the Specific Color Selector 7. The first qDebug() outputs 26 8. The second qDebug outputs 25 OBSERVED RESULT 26 EXPECTED RESULT 25 SOFTWARE/OS VERSIONS Linux/KDE Plasma: Arch Linux -- You are receiving this mail because: You are watching all bug changes.