Bug 436145 - Faulty margins in Wacom Tablet widget
Summary: Faulty margins in Wacom Tablet widget
Status: RESOLVED FIXED
Alias: None
Product: wacomtablet
Classification: Plasma
Component: general (show other bugs)
Version: 3.2.0
Platform: Neon Linux
: NOR minor
Target Milestone: ---
Assignee: Valerii Malov
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-04-24 22:14 UTC by logicalwillow
Modified: 2022-04-03 16:41 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
Attachment 1 - faulty margins while tablet disconnected (17.23 KB, image/png)
2021-04-24 22:15 UTC, logicalwillow
Details

Note You need to log in before you can comment on or make changes to this bug.
Description logicalwillow 2021-04-24 22:14:35 UTC
SUMMARY
In the widget for Wacom Tablets, when a tablet isn't plugged in, the text saying that it's not connected is too close to the warning icon. The icon is also too close to the edge of the widget

STEPS TO REPRODUCE
1. Add the widget to your desktop or panel
2. The text saying a tablet is not connected is too close to the warning icon (view attachment)

OBSERVED RESULT
The text is too close to icons.  Also, I noticed that the interface is strange. I'll file another bug for that later.

EXPECTED RESULT
The interface should be normal without faulty margins.

SOFTWARE/OS VERSIONS
Linux: Neon 5.21, Kernel 5.4
KDE Plasma Version: 5.21.4
KDE Frameworks Version: 5.81.0
Qt Version: 5.15.2
Comment 1 logicalwillow 2021-04-24 22:15:10 UTC
Created attachment 137889 [details]
Attachment 1 [details] - faulty margins while tablet disconnected
Comment 2 oioi555x 2022-03-27 13:15:08 UTC
I submitted a patch
https://invent.kde.org/system/wacomtablet/-/merge_requests/7
Comment 3 Nate Graham 2022-04-03 16:41:48 UTC
Git commit f67b2d4aa7f04b03299a9de4edd9f4fe063171be by Nate Graham, on behalf of oioi 555.
Committed on 03/04/2022 at 16:41.
Pushed by ngraham into branch 'master'.

Fix margins in applet

- Added icon and text margins.
- Adjusted the vertical centering.

M  +12   -14   src/applet/package/contents/ui/FullRepresentation.qml

https://invent.kde.org/system/wacomtablet/commit/f67b2d4aa7f04b03299a9de4edd9f4fe063171be