Changeset View
Changeset View
Standalone View
Standalone View
kcmkwin/kwindecoration/qml/main.qml
Show All 15 Lines | |||||
16 | * | 16 | * | ||
17 | * You should have received a copy of the GNU General Public License | 17 | * You should have received a copy of the GNU General Public License | ||
18 | * along with this program. If not, see <http://www.gnu.org/licenses/>. | 18 | * along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
19 | */ | 19 | */ | ||
20 | import QtQuick 2.1 | 20 | import QtQuick 2.1 | ||
21 | import QtQuick.Controls 1.2 | 21 | import QtQuick.Controls 1.2 | ||
22 | import QtQuick.Layouts 1.1 | 22 | import QtQuick.Layouts 1.1 | ||
23 | 23 | | |||
24 | Rectangle { | | |||
25 | color: backgroundColor | | |||
26 | ColumnLayout { | 24 | ColumnLayout { | ||
27 | anchors.fill: parent | 25 | anchors.fill: parent | ||
28 | Previews { | 26 | Previews { | ||
29 | Layout.fillWidth: true | 27 | Layout.fillWidth: true | ||
30 | Layout.fillHeight: true | 28 | Layout.fillHeight: true | ||
31 | } | 29 | } | ||
32 | Buttons { | 30 | Buttons { | ||
33 | Layout.alignment: Qt.AlignTop | | |||
34 | Layout.fillWidth: true | 31 | Layout.fillWidth: true | ||
35 | } | 32 | Layout.fillHeight: true | ||
36 | } | 33 | } | ||
37 | } | 34 | } |