Fluid 1.3.0
Material Design for QtQuick and Qml
Loading...
Searching...
No Matches
Breakpoints Class Reference

Material Design 3 width breakpoints and adaptive grid metrics. More...

Inheritance diagram for Breakpoints:

Detailed Description

Material Design 3 width breakpoints and adaptive grid metrics.

Remarks
This component is a singleton

Breakpoints classifies an available width into one of the five Material 3 breakpoint ranges. The returned values can be used to adapt a layout's structure and its number of grid columns. Widths and metrics are expressed in device-independent pixels.

import Fluid as MD
Item {
readonly property int breakpoint: MD.Breakpoints.fromWidth(width)
readonly property int columns: MD.Breakpoints.columnCount(breakpoint)
}

Definition at line 24 of file Breakpoints.qml.


The documentation for this class was generated from the following file: