kstyle: don't blindly fill contentsRect when calculating textRect
Otherwise in RTL layout the text start position will be the left side of
the button.
Co-authored-by: Alexander Volkov <avolkov@astralinux.ru>
BUG: 459444
FIXED-IN: 5.26
Otherwise in RTL layout the text start position will be the left side of
the button.
Co-authored-by: Alexander Volkov <avolkov@astralinux.ru>
BUG: 459444
FIXED-IN: 5.26
mentioned in commit 872a6d9c
·mentioned in commit 872a6d9c