Update SidePane componants, add Base.HColumnLayout
This commit is contained in:
11
harmonyqml/components/base/HColumnLayout.qml
Normal file
11
harmonyqml/components/base/HColumnLayout.qml
Normal file
@@ -0,0 +1,11 @@
|
||||
import QtQuick 2.7
|
||||
import QtQuick.Controls 2.2
|
||||
import QtQuick.Layouts 1.4
|
||||
|
||||
ColumnLayout {
|
||||
id: columnLayout
|
||||
spacing: 0
|
||||
|
||||
property int totalSpacing:
|
||||
spacing * Math.max(0, (columnLayout.visibleChildren.length - 1))
|
||||
}
|
@@ -4,6 +4,7 @@ import QtQuick.Controls 2.0
|
||||
TextField {
|
||||
font.family: HStyle.fontFamily.sans
|
||||
font.pixelSize: HStyle.fontSize.normal
|
||||
color: HStyle.colors.foreground
|
||||
|
||||
selectByMouse: true
|
||||
}
|
||||
|
Reference in New Issue
Block a user