diff --git a/ui/squawk.cpp b/ui/squawk.cpp
index 406ee45..800f02a 100644
--- a/ui/squawk.cpp
+++ b/ui/squawk.cpp
@@ -39,7 +39,11 @@ Squawk::Squawk(QWidget *parent) :
m_ui->setupUi(this);
m_ui->roster->setModel(&rosterModel);
m_ui->roster->setContextMenuPolicy(Qt::CustomContextMenu);
- m_ui->roster->setColumnWidth(1, 30);
+ if (QApplication::style()->styleHint(QStyle::SH_ScrollBar_Transient) == 1) {
+ m_ui->roster->setColumnWidth(1, 52);
+ } else {
+ m_ui->roster->setColumnWidth(1, 26);
+ }
m_ui->roster->setIconSize(QSize(20, 20));
m_ui->roster->header()->setStretchLastSection(false);
m_ui->roster->header()->setSectionResizeMode(0, QHeaderView::Stretch);
diff --git a/ui/squawk.ui b/ui/squawk.ui
index a4d0258..01ffbba 100644
--- a/ui/squawk.ui
+++ b/ui/squawk.ui
@@ -73,6 +73,9 @@
0
+
+ 0
+
-
@@ -96,16 +99,31 @@
true
+
+ true
+
false
false
+
+ 10
+
+
+ false
+
-
+
+
+ 0
+ 30
+
+
false
@@ -115,6 +133,9 @@
-1
+
+ true
+
@@ -162,7 +183,7 @@
0
0
718
- 27
+ 32