CURA-5035 Don't show required plugins

Also renamed folder of UserAgreementPlugin to UserAgreement
This commit is contained in:
Ian Paschal 2018-04-26 15:11:32 +02:00
parent 2751299fd3
commit 679f87ebb3
8 changed files with 34 additions and 28 deletions

View file

@ -9,7 +9,9 @@ import UM 1.1 as UM
Column
{
height: childrenRect.height
// HACK: GridLayouts don't render to the correct height with odd numbers of
// items, so if odd, add some extra space.
height: grid.model.items.length % 2 == 0 ? childrenRect.height : childrenRect.height + 3 * UM.Theme.getSize("wide_margin").height
width: parent.width
spacing: UM.Theme.getSize("default_margin").height
Label