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(real size)
- int roundToIconSize(real size)
Detailed Description
Property Documentation
[read-only] gridUnit : int |
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
[read-only] largeSpacing : real |
The amount of spacing that should be used inside bigger UI elements such as padding in a dialog box.
[read-only] longDuration : int |
Duration for long animations such as windows opening or closing.
[read-only] mediumDuration : int |
Duration for medium length animations.
[read-only] mediumSpacing : real |
The amount of spacing that should be used inside medium UI elements such as padding between title and body text in a dialog box.
[read-only] shortDuration : int |
Duration for short animations to make UI events noticeable.
[read-only] smallSpacing : real |
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.