mirror of
https://github.com/status-im/status-desktop.git
synced 2025-01-21 20:09:37 +00:00
fix(@desktop): Hotfix Popup's margins
This is a combination of 2 commits. fix(@desktop): Hotfix Popup's margins chore: bump statusq
This commit is contained in:
parent
ce51a29119
commit
3271aff7c7
@ -1 +1 @@
|
||||
Subproject commit 64d6beb4a0fa56f8507e16143878344e8f23c8a3
|
||||
Subproject commit a2e9f813a5440e3cedb178da9ca2929a4cda5002
|
@ -85,6 +85,7 @@ Flickable {
|
||||
id: pickColorComponent
|
||||
|
||||
StatusStackModal {
|
||||
anchors.centerIn: parent
|
||||
replaceItem: CommunityColorPanel {
|
||||
Component.onCompleted: color = colorPicker.color
|
||||
onAccepted: {
|
||||
@ -106,6 +107,7 @@ Flickable {
|
||||
id: pickTagsComponent
|
||||
|
||||
StatusStackModal {
|
||||
anchors.centerIn: parent
|
||||
replaceItem: CommunityTagsPanel {
|
||||
Component.onCompleted: {
|
||||
tags = tagsPicker.tags;
|
||||
|
@ -39,9 +39,6 @@ QtObject {
|
||||
|
||||
function openPopup(popupComponent, params = {}) {
|
||||
const popup = popupComponent.createObject(root.appMain, params);
|
||||
popup.x = Qt.binding(function() { return (root.appMain.width - popup.width) / 2; });
|
||||
popup.y = popup.margins;
|
||||
popup.height = Qt.binding(function() { return root.appMain.height - popup.margins * 2; });
|
||||
popup.open();
|
||||
return popup;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user