| Summary: | Calculator applet minimum width and height values | ||
|---|---|---|---|
| Product: | [Unmaintained] kdeplasma-addons | Reporter: | Sadi <sadiyumusak> |
| Component: | calculator | Assignee: | Plasma Bugs List <plasma-bugs-null> |
| Status: | RESOLVED FIXED | ||
| Severity: | minor | CC: | nate |
| Priority: | NOR | ||
| Version First Reported In: | 5.27.5 | ||
| Target Milestone: | --- | ||
| Platform: | Debian testing | ||
| OS: | Linux | ||
| Latest Commit: | https://invent.kde.org/plasma/kdeplasma-addons/-/commit/4e1b311d1326b03a57255d6542b2554d03a19e1d | Version Fixed/Implemented In: | 6.0 |
| Sentry Crash Report: | |||
|
Description
Sadi
2023-07-26 15:08:58 UTC
The bad default size should be fixed in Plasma 6, but making it much smaller is probably less feasible as it would start to be too small to use. But maybe it's possible. Git commit 877cb682a2997b174dae7ef0cb80a31d3f36e4dc by Nate Graham. Committed on 07/09/2023 at 23:10. Pushed by ngraham into branch 'master'. applets/calculator: use multiples of gridUnit for minimum size This way it adjusts with the font size. We do this everywhere else too. M +2 -2 applets/calculator/package/contents/ui/calculator.qml https://invent.kde.org/plasma/kdeplasma-addons/-/commit/877cb682a2997b174dae7ef0cb80a31d3f36e4dc Git commit 4e1b311d1326b03a57255d6542b2554d03a19e1d by Nate Graham. Committed on 07/09/2023 at 23:15. Pushed by ngraham into branch 'master'. applets/calculator: reduce min size to only what's needed to fit buttons This makes it usable for people who want to put it on thick vertical panels of 126px wide or wider--down from the previous value of 144px. Any smaller than this, and button text starts to get elided with the current design. FIXED-IN: 6.0 M +2 -2 applets/calculator/package/contents/ui/calculator.qml https://invent.kde.org/plasma/kdeplasma-addons/-/commit/4e1b311d1326b03a57255d6542b2554d03a19e1d |