Not possible to limit the height of an ActionSelectionPopover
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
ubuntu-ui-toolkit (Ubuntu) |
Invalid
|
Undecided
|
Unassigned |
Bug Description
Setting the height on an ActionSelection
Steps to reproduce:
1) Run the following QML:
import QtQuick 2.0
import Ubuntu.Components 1.1
import Ubuntu.
import Ubuntu.
MainView {
useDeprecat
Component.
}
Component {
id: menuPopover
id: menuList
height: units.gu(10)
}
}
}
}
}
}
}
}
}
}
}
Expected result:
The popup should have a height of 10gu (and should scroll content, see bug #1418981)
Actual result:
The popup retains the same height but the width and positioning is altered.
As documented, you should be using contentHeight (analoguous to contentWidth).