mirror of
https://github.com/muesli/telephant
synced 2025-02-16 19:48:24 +00:00
Adjusted maximum width of popups & dialogs
This commit is contained in:
parent
364f2cd2e0
commit
b901dd7b69
1 changed files with 5 additions and 5 deletions
|
@ -26,7 +26,7 @@ ApplicationWindow {
|
||||||
Item {
|
Item {
|
||||||
MessagePopup {
|
MessagePopup {
|
||||||
id: messagePopup
|
id: messagePopup
|
||||||
width: mainWindow.width * 0.66
|
width: Math.min(mainWindow.width * 0.66, 500)
|
||||||
// height: mainWindow.height * 0.8
|
// height: mainWindow.height * 0.8
|
||||||
x: mainWindow.width / 2 - width / 2
|
x: mainWindow.width / 2 - width / 2
|
||||||
y: mainWindow.height / 2 - height / 2 - mainWindow.header.height
|
y: mainWindow.height / 2 - height / 2 - mainWindow.header.height
|
||||||
|
@ -34,7 +34,7 @@ ApplicationWindow {
|
||||||
|
|
||||||
SharePopup {
|
SharePopup {
|
||||||
id: sharePopup
|
id: sharePopup
|
||||||
width: mainWindow.width * 0.66
|
width: Math.min(mainWindow.width * 0.66, 500)
|
||||||
// height: mainWindow.height * 0.8
|
// height: mainWindow.height * 0.8
|
||||||
x: mainWindow.width / 2 - width / 2
|
x: mainWindow.width / 2 - width / 2
|
||||||
y: mainWindow.height / 2 - height / 2 - mainWindow.header.height
|
y: mainWindow.height / 2 - height / 2 - mainWindow.header.height
|
||||||
|
@ -42,7 +42,7 @@ ApplicationWindow {
|
||||||
|
|
||||||
DeletePopup {
|
DeletePopup {
|
||||||
id: deletePopup
|
id: deletePopup
|
||||||
width: mainWindow.width * 0.66
|
width: Math.min(mainWindow.width * 0.66, 500)
|
||||||
// height: mainWindow.height * 0.8
|
// height: mainWindow.height * 0.8
|
||||||
x: mainWindow.width / 2 - width / 2
|
x: mainWindow.width / 2 - width / 2
|
||||||
y: mainWindow.height / 2 - height / 2 - mainWindow.header.height
|
y: mainWindow.height / 2 - height / 2 - mainWindow.header.height
|
||||||
|
@ -50,7 +50,7 @@ ApplicationWindow {
|
||||||
|
|
||||||
ConversationPopup {
|
ConversationPopup {
|
||||||
id: conversationPopup
|
id: conversationPopup
|
||||||
width: mainWindow.width * 0.8
|
width: Math.min(mainWindow.width * 0.8, 600)
|
||||||
height: mainWindow.height * 0.8
|
height: mainWindow.height * 0.8
|
||||||
x: mainWindow.width / 2 - width / 2
|
x: mainWindow.width / 2 - width / 2
|
||||||
y: mainWindow.height / 2 - height / 2 - mainWindow.header.height
|
y: mainWindow.height / 2 - height / 2 - mainWindow.header.height
|
||||||
|
@ -58,7 +58,7 @@ ApplicationWindow {
|
||||||
|
|
||||||
AccountPopup {
|
AccountPopup {
|
||||||
id: accountPopup
|
id: accountPopup
|
||||||
width: mainWindow.width * 0.8
|
width: Math.min(mainWindow.width * 0.8, 600)
|
||||||
height: mainWindow.height * 0.8
|
height: mainWindow.height * 0.8
|
||||||
x: mainWindow.width / 2 - width / 2
|
x: mainWindow.width / 2 - width / 2
|
||||||
y: mainWindow.height / 2 - height / 2 - mainWindow.header.height
|
y: mainWindow.height / 2 - height / 2 - mainWindow.header.height
|
||||||
|
|
Loading…
Add table
Reference in a new issue