Units QML Type
Units. More...
Import Statement: | import Fluid.Controls 1.1 |
Properties
- gridUnit : int
- iconSizes : object
- largeSpacing : real
- longDuration : int
- mediumDuration : int
- mediumSpacing : real
- shortDuration : int
- smallSpacing : real
Methods
- int gu(size)
- int roundToIconSize(size)
Detailed Description
Property Documentation
Fundamental unit of space for sizes depending on the current font. It correspond to the capital letter M width in pixel.
Standard icon sizes:
iconSizes.tiny
iconSizes.small
iconSizes.smallMedium
iconSizes.medium
iconSizes.large
iconSizes.huge
iconSizes.enormous
The amount of spacing that should be used inside bigger UI elements such as padding in a dialog box.
The amount of spacing that should be used inside medium UI elements such as padding between title and body text in a dialog box.
The amount of spacing that should be used around smaller UI elements. It can be used as margin around button box and spacing between buttons.