marten added a comment.
Thanks for the hint David... I thought that I'd tried the approach of setting the fieldGrowthPolicy and the sizePolicy of the fields, and the problem with that was that the spinboxes were then extended to the full width of the form - not looking good, as well as putting the numeric values a long way away from their labels. So I remembered seeing the event filter technique used somewhere else, and did that. I'll take another look at the QFormLayout approach, though, and see if it can be made to give the right appearance. REPOSITORY rPLASMADESKTOP Plasma Desktop REVISION DETAIL https://phabricator.kde.org/D2853 EMAIL PREFERENCES https://phabricator.kde.org/settings/panel/emailpreferences/ To: marten, #plasma, davidedmundson Cc: mart, plasma-devel, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas