The clock was too close to the panel right edge when displaying hours beginning with 10, 11 and 12. Weirdly enough, the right margin was different based on the clock current time. This patch makes the margin constantly equal to the one that there was before when displaying 10,11,12 plus units.smallSpacing.
Details
Details
- Reviewers
davidedmundson ngraham - Group Reviewers
VDG Plasma - Commits
- R120:fed83f884acd: Fixed margin of digital clock
Diff Detail
Diff Detail
- Repository
- R120 Plasma Workspace
- Branch
- margin_digital_clock (branched from master)
- Lint
No Linters Available - Unit
No Unit Test Coverage - Build Status
Buildable 23087 Build 23105: arc lint + arc unit
Comment Actions
By using paintedWidth size is going to change constantly and will move the rest of the widgets.
Edit: Seams to change only when the extra "1" appears.
It will be better that what is it now. +1 from me too.
Comment Actions
I was too late, it does change constantly now. But it depends on the font. The default font has the same width for all numbers, others don't.
Wish I could at least help with git, but I struggle with it.