marten updated this revision to Diff 7032. marten added a comment.
Implemented using a grid layout. It looks the same, not needing the event filter but at the cost of more code to generate the layout (getting the required label alignment, setting label buddies, keeping track of rows...) which QFormLayout does automatically. REPOSITORY rPLASMADESKTOP Plasma Desktop CHANGES SINCE LAST UPDATE https://phabricator.kde.org/D2853?vs=6916&id=7032 REVISION DETAIL https://phabricator.kde.org/D2853 AFFECTED FILES kcms/input/kmousedlg.ui kcms/input/mouse.cpp kcms/input/mouse.h EMAIL PREFERENCES https://phabricator.kde.org/settings/panel/emailpreferences/ To: marten, #plasma Cc: mart, plasma-devel, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas