Convert trigonometric and logarithm button labels to lower case
Needs ReviewPublic

Authored by fakefred on Apr 28 2020, 1:36 AM.

Details

Reviewers
teran
Summary

BUG: 410066

Diff Detail

Repository
R353 KCalc
Branch
master
Lint
No Linters Available
Unit
No Unit Test Coverage
Build Status
Buildable 26014
Build 26032: arc lint + arc unit
fakefred created this revision.Apr 28 2020, 1:36 AM
Restricted Application added a subscriber: kde-utils-devel. · View Herald TranscriptApr 28 2020, 1:36 AM
fakefred requested review of this revision.Apr 28 2020, 1:36 AM
cfeck added a subscriber: cfeck.Apr 30 2020, 5:09 PM

Could you investigate if it is possible to use log_10 instead of log, as is done in the OS X screenshot? Superscript seems possible, but I am not sure about subscript.

Of course it's possible, by using <sub>:

Alternatively, we could simply substitute lg for log_10.

cfeck added a comment.May 4 2020, 9:48 AM

I would prefer showing the base instead of lg, but don't know if it would work with all font sizes. In the statistic and numeral system modes, the buttons all make sure the text has a maximum of 3 characters (e.g. Mea instead of Mean).

lg is, in fact, the ISO standard[1]. However, log_10 is the least ambigious. The length looks fine. We have a x*10^y after all.

[1] https://en.wikipedia.org/wiki/Logarithm#Particular_bases