SidePanel: fix #218 sidepanel should open next to the button (as other panels)
This commit is contained in:
parent
e5aee79d47
commit
5910c65bcf
2 changed files with 1 additions and 2 deletions
|
|
@ -21,7 +21,7 @@ NIconButton {
|
||||||
colorBorderHover: Color.transparent
|
colorBorderHover: Color.transparent
|
||||||
|
|
||||||
anchors.verticalCenter: parent.verticalCenter
|
anchors.verticalCenter: parent.verticalCenter
|
||||||
onClicked: PanelService.getPanel("sidePanel")?.toggle(screen)
|
onClicked: PanelService.getPanel("sidePanel")?.toggle(screen, this)
|
||||||
onRightClicked: PanelService.getPanel("settingsPanel")?.toggle(screen)
|
onRightClicked: PanelService.getPanel("settingsPanel")?.toggle(screen)
|
||||||
|
|
||||||
// When enabled, draw the distro logo instead of the icon glyph
|
// When enabled, draw the distro logo instead of the icon glyph
|
||||||
|
|
|
||||||
|
|
@ -12,7 +12,6 @@ NPanel {
|
||||||
|
|
||||||
panelWidth: 460 * scaling
|
panelWidth: 460 * scaling
|
||||||
panelHeight: 708 * scaling
|
panelHeight: 708 * scaling
|
||||||
panelAnchorRight: true
|
|
||||||
|
|
||||||
panelContent: Item {
|
panelContent: Item {
|
||||||
id: content
|
id: content
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue