Files
Toou-2D/example/Ex_DividerLine.qml
2019-09-06 23:18:49 +08:00

32 lines
485 B
QML

import QtQuick 2.0
import Toou2D 1.0
Column{
spacing: 15;
TDividerLine{
width: 350;
height: 1;
}
Row{
spacing: 10;
Repeater{
model: 30;
delegate: TDividerLine{
width: Math.random() * 2 + 1;
height: 40;
color: Qt.rgba(Math.random(),Math.random(),Math.random(),1);
}
}
}
TDividerLine{
width: 350;
height: 1;
}
}