forked from Shinonome/dots-hyprland
content page: add min width
This commit is contained in:
@@ -6,10 +6,12 @@ import "root:/modules/common/widgets/"
|
|||||||
|
|
||||||
Flickable {
|
Flickable {
|
||||||
id: root
|
id: root
|
||||||
|
property real baseWidth: 400
|
||||||
default property alias data: contentColumn.data
|
default property alias data: contentColumn.data
|
||||||
|
|
||||||
clip: true
|
clip: true
|
||||||
contentHeight: contentColumn.implicitHeight
|
contentHeight: contentColumn.implicitHeight
|
||||||
implicitWidth: contentColumn.implicitWidth
|
implicitWidth: Math.max(contentColumn.implicitWidth, baseWidth)
|
||||||
ColumnLayout {
|
ColumnLayout {
|
||||||
id: contentColumn
|
id: contentColumn
|
||||||
anchors {
|
anchors {
|
||||||
|
|||||||
Reference in New Issue
Block a user