Skip to content

Unify height of PC3 buttons, TextFields, and Comboboxes

Nate Graham requested to merge ngraham/plasma-framework:unify-pc3-heights into master

Now all of them have a base height of units.gridUnit. Combined with the standard 6px margins it works out to make all of these controls a uniform 30px tall with the default Noto Sans 10 font. If the font is changed or the size is increased, even to absurd levels, all of them scale evenly.

Nice and consistent heights at the default 10pt Noto Sans font:

10pt

All of them scale evenly; here seen with 15pt Noto Sans:

15pt

Size looks good when buttons are made larger than normal:

Screenshot_20200629_213829

Pin button looks normal-sized again:

Screenshot_20200629_213813

ToolButtons in list items have correct proportions:

Screenshot_20200629_213900

cc @teams/vdg

Edited by Nate Graham

Merge request reports