on xenial help sign in
Set bottom edge demo to sit above the indicator drag handle, because (A) I believe that's closer to what design wanted and (B) it prevents our clickable area from interfering with the drag handle
commitc5ec785242579519ed0847da24f3a74551be91af authorMichael Terry <michael.terry@canonical.com> dateMon 16 Sep 2013, 12:42 (13 years ago) parentfe12c96
2 files changed+2−1
Components/EdgeDemo.qml+1−1 Panel/Indicators.qml+1
Components/EdgeDemo.qml+1−1
@@ -169,7 +169,7 @@ Item {
169169 "edge": "bottom",
170170 "title": i18n.tr("Close"),
171171 "text": i18n.tr("Swipe up again to close the settings screen"),
172− "anchors.fill": demo.indicators,
172+ "anchors.fill": demo.indicators.content,
173173 });
174174 }
175175 if (d.bottomEdgeDemo) {
Panel/Indicators.qml+1
@@ -35,6 +35,7 @@ Showable {
3535 property bool partiallyOpened: height > panelHeight && !fullyOpened
3636 property real visualBottom: Math.max(y+height, y+indicatorRow.y+indicatorRow.height)
3737 property bool contentEnabled: true
38+ readonly property alias content: menuContent
3839
3940 // TODO: Perhaps we need a animation standard for showing/hiding? Each showable seems to
4041 // use its own values. Need to ask design about this.