Convergence window Menu
Bug #1637557 reported by
costales
This bug affects 3 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
uWriter |
Fix Released
|
Low
|
costales |
Bug Description
Window convergence when user opens Menu
Related branches
lp:~costales/uwriter/convergence
- costales: Pending requested
-
Diff: 2380 lines (+1227/-1042)5 files modifiedqml/About.qml (+38/-3)
qml/LoadFile.qml (+58/-59)
qml/Main.qml (+273/-236)
qml/Menu.qml (+777/-667)
qml/SaveAs.qml (+81/-77)
Changed in uwriter: | |
milestone: | none → 0.19 |
Changed in uwriter: | |
status: | New → Triaged |
importance: | Undecided → Low |
assignee: | nobody → costales (costales) |
Changed in uwriter: | |
status: | Triaged → Fix Committed |
Changed in uwriter: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
import QtQuick 2.4 eLayout {
import Ubuntu.Components 1.3
MainView {
width: units.gu(100)
height: units.gu(60)
AdaptivePag
id: mainPageStack
property bool childPageOpened: false
layouts: PageColumnsLayout {
when: width > units.gu(100) && mainPageStack.
// column #0
PageColumn {
fillWidth: true
PageColumn {
minimumWidth: units.gu(30)
maximumWidth: units.gu(60)
preferredWidt h: units.gu(40)
header: PageHeader {
id: header
title: "Main page"
Column {
anchors. top: header.bottom
Button {
text: "close 3 " + page1.title;
onClicked: {
mainPageStack. childPageOpened = false;
pageStack. removePages( page3);
}
}
Button {
text: "Add Page3 next to " + page1.title;
onClicked: {
mainPageStack. childPageOpened = true;
page1.pageStack .addPageToNextC olumn(page1, page3);
}
}
title: "Page #3"
leadingAction Bar {
numberOfS lots: 1
actions: [
Action {
id: actionSettings
iconName: "back"
text: i18n.tr("Back")
onTriggered: {
onClicked: {
mainPageStack. childPageOpened = false;
mainPageStack. removePages( page3);
}
}
}
]
}
// column #1
}
}
Component {
id: page1Component
Page {
id: page1
}
}
}
}
Page {
id: page3
header: PageHeader {
}
}
}
}
}