Version: (using KDE Devel) Installed from: Compiled sources OS: Linux The text height of some buttons (e.g. "Mod" and "!/x") are too large so the text is cut off at the top.
I confirm this behaviour, but it's a problem related to the oxygen style.
I doubt it. Most probably Kcalc just sets the height of the buttons to a fixed value. Can someone check this please
Created attachment 22738 [details] KCalc button & font size issue
Created attachment 22739 [details] Same issue with "inv" mode selected.
Other than what was mentioned above, changing the font size in the preferences does not change anything. This seems hardcoded, too. I created the two attachments seen above.
SVN commit 759069 by brandybuck: BUG: 153741 Improved text drawing in KCalcButton. Text is no longer being cut off. The text is still cramped with the Oxygen style, however, because KStyle defines PM_ButtonMargin to be zero. M +12 -14 kcalc.cpp M +42 -36 kcalc_button.cpp M +7 -20 kcalc_button.h WebSVN link: http://websvn.kde.org/?view=rev&revision=759069
Note: Kcalc buttons have smaller than normal margins, and sizeHint() uses fontmetrics and button margin to get a smaller but reasonable size. KStyle defines PM_ButtonMargin to be zero, however. With most styles this is fine, but with Oxygen it makes the buttons seem cramped. This issue may need to be revisited.