layout improvements

wilder-5.14
Sebastian Kügler 13 years ago
parent fad6fe021b
commit c21bc808d7
  1. 32
      applets/testcomponentsapplet/contents/ui/IconsPage.qml
  2. 1
      applets/testcomponentsapplet/contents/ui/PlasmoidPage.qml

@ -40,52 +40,52 @@ PlasmaComponents.Page {
elide: Text.ElideRight
text: "Icons"
}
Row {
height: _h
PlasmaComponents.Label {
text: "iconSizes.small : " + theme.iconSizes.small +
", iconSizes.desktop: " + theme.iconSizes.desktop +
",<br />iconSizes.toolbar: " + theme.iconSizes.toolbar +
", iconSizes.dialog : " + theme.iconSizes.dialog
}
Flow {
//height: _h
width: parent.width
spacing: _s
PlasmaCore.IconItem {
source: "configure"
width: parent.height
width: _h
height: width
}
PlasmaCore.IconItem {
source: "dialog-ok"
width: parent.height
width: _h
height: width
}
PlasmaCore.IconItem {
source: "maximize"
width: parent.height
width: _h
height: width
}
PlasmaCore.IconItem {
source: "akonadi"
width: parent.height
width: _h
height: width
}
PlasmaCore.IconItem {
source: "clock"
width: parent.height
width: _h
height: width
}
QtExtras.QIconItem {
icon: "preferences-desktop-icons"
width: parent.height
width: _h
height: width
}
}
PlasmaComponents.Label {
text: "iconSizes.small : " + theme.iconSizes.small +
", iconSizes.desktop: " + theme.iconSizes.desktop +
",<br />iconSizes.toolbar: " + theme.iconSizes.toolbar +
", iconSizes.dialog : " + theme.iconSizes.dialog
}
}
}

@ -17,7 +17,6 @@
*/
import QtQuick 2.0
import org.kde.plasma.core 2.0 as PlasmaCore
import org.kde.plasma.components 2.0 as PlasmaComponents
import org.kde.plasma.extras 2.0 as PlasmaExtras

Loading…
Cancel
Save