mirror of
https://github.com/tnodir/fort
synced 2024-11-15 05:18:07 +00:00
UI: Refactor H/VSeparator controls.
This commit is contained in:
parent
bb453b3394
commit
d6275f4f6f
@ -3,9 +3,10 @@ import QtQuick.Controls 2.2
|
||||
import QtQuick.Layouts 1.3
|
||||
|
||||
Rectangle {
|
||||
Layout.fillWidth: true
|
||||
Layout.maximumWidth: parent.implicitWidth
|
||||
Layout.preferredHeight: 1
|
||||
width: parent.width
|
||||
height: 1
|
||||
Layout.preferredWidth: width
|
||||
Layout.preferredHeight: height
|
||||
|
||||
color: palette.mid
|
||||
}
|
||||
|
@ -2,10 +2,7 @@ import QtQuick 2.9
|
||||
import QtQuick.Controls 2.2
|
||||
import QtQuick.Layouts 1.3
|
||||
|
||||
Rectangle {
|
||||
Layout.preferredWidth: 1
|
||||
Layout.fillHeight: true
|
||||
Layout.maximumHeight: parent.implicitHeight
|
||||
|
||||
color: palette.mid
|
||||
HSeparator {
|
||||
width: 1
|
||||
height: parent.height
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user