summary refs log tree commit diff
path: root/src/ui
diff options
context:
space:
mode:
authorKonstantinos Sideris <sideris.konstantin@gmail.com>2018-07-20 16:15:50 +0300
committerKonstantinos Sideris <sideris.konstantin@gmail.com>2018-07-20 16:15:50 +0300
commit83008f44e4a0a449fc37f5a62f858f9d248483a0 (patch)
tree09d2216ee1bd71b00d01721af073e54903087ade /src/ui
parentCreate user profile modal (diff)
downloadnheko-83008f44e4a0a449fc37f5a62f858f9d248483a0.tar.xz
Show device list in user profile & add option to create 1-1 chat
Diffstat (limited to 'src/ui')
-rw-r--r--src/ui/OverlayModal.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ui/OverlayModal.cpp b/src/ui/OverlayModal.cpp
index 41e07a91..30ebdf5c 100644
--- a/src/ui/OverlayModal.cpp
+++ b/src/ui/OverlayModal.cpp
@@ -29,7 +29,7 @@ OverlayModal::OverlayModal(QWidget *parent, QWidget *content)
         layout_->addWidget(content);
         layout_->setSpacing(0);
         layout_->setContentsMargins(10, 40, 10, 20);
-        setContentAlignment(Qt::AlignTop | Qt::AlignHCenter);
+        setContentAlignment(Qt::AlignCenter);
 
         content->setFocus();
 }