Skip to content

customizable gridview

What is added?

  • enable setting custom delegate sizes with easy to use properties
  • do not fill row with empty extra columns
  • implementation difference problems:
    • spacing between delegates
    • delegate width. When resizing systemsettings to its minimal width, some gridview's won't have the same column count.

Why?

  • This can be useful for implementing a KCM for a wider range of devices (which obviously have different resolutions, etc.). With the added properties you simply set the maximum and minimum size for the delegates, and they resize accordingly on window resize (cell size is calculated by using delegate size as a base).
  • Implemented the extraColumns property which makes the app visually more pleasing when resizing the app, since it stops the delegates from constantly resizing. Please see the documentation.

Signed-off-by: Matej Starc matej.starc@protonmail.com

Edited by Matej Starc

Merge request reports