Skip to content

Delegates: Set padding values in a smarter way

ivan tkachenko requested to merge work/ratijas/5/delegate-padding into master

QtQuick.Controls 2.5 (Qt 5.12) introduced a new pair of properties in the padding inheritance chain: verticalPadding & horizontalPadding. Binding more generic properties in the QQC2 style implementation both makes for less code, more efficient implementation, and allows custom client components to overrides those horizontal/vertical values and get a correct behavior.

Merge request reports

Loading