reserve space for checkable widgets in menu items

Authored by zzag on Feb 13 2018, 1:14 PM.

Description

reserve space for checkable widgets in menu items

Summary:
At a given moment, menu items do not have empty space on the left side.
This feels not really comfortable or "natural"(I don't know how to
express this feeling).

This revision tries to solve the problem above by reserving space for checkable
widgets. Also, it achieves consistency with macOS/Windows/Unity/etc.

Before

After

Context menus with checkable widgets(e.g. radio buttons or checkboxes) look the same

Test Plan: * open context menu

Reviewers: Breeze, VDG, ngraham, hpereiradacosta

Reviewed By: hpereiradacosta

Subscribers: januz, fabianr, mmustac, abetts, anemeth, plasma-devel

Tags: Plasma

Differential Revision: https://phabricator.kde.org/D10438