summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSimon Rettberg2023-05-24 17:39:49 +0200
committerSimon Rettberg2023-05-24 17:39:49 +0200
commit6927fd6ab1015d9d8b0f91d77bea39a76424e3bc (patch)
treef774ff911440de5e8e35de5be137b4b25f2c0bbe
parentOnly force frame height (diff)
downloadslxgreeter-6927fd6ab1015d9d8b0f91d77bea39a76424e3bc.tar.gz
slxgreeter-6927fd6ab1015d9d8b0f91d77bea39a76424e3bc.tar.xz
slxgreeter-6927fd6ab1015d9d8b0f91d77bea39a76424e3bc.zip
Try more random crap to fix layout with larger roomplans
-rw-r--r--src/loginform.cpp2
-rw-r--r--src/loginform.ui9
2 files changed, 3 insertions, 8 deletions
diff --git a/src/loginform.cpp b/src/loginform.cpp
index c4ffe14..bb4fdb9 100644
--- a/src/loginform.cpp
+++ b/src/loginform.cpp
@@ -59,6 +59,8 @@ LoginForm::LoginForm(QWidget *parent) :
origSize.rheight() -= 64;
}
initialize();
+ this->updateGeometry();
+
int port = Settings::rpcPort();
if (port != 0) {
auto *car = new LoginRpc(port, this);
diff --git a/src/loginform.ui b/src/loginform.ui
index 3f146c3..6a0fa63 100644
--- a/src/loginform.ui
+++ b/src/loginform.ui
@@ -7,7 +7,7 @@
<x>0</x>
<y>0</y>
<width>386</width>
- <height>316</height>
+ <height>344</height>
</rect>
</property>
<property name="sizePolicy">
@@ -149,7 +149,6 @@ QComboBox QAbstractItemView::item {
<font>
<family>Bitstream Vera Sans</family>
<pointsize>14</pointsize>
- <weight>50</weight>
<italic>true</italic>
<bold>false</bold>
</font>
@@ -232,7 +231,6 @@ QComboBox QAbstractItemView::item {
<property name="font">
<font>
<pointsize>10</pointsize>
- <weight>75</weight>
<bold>true</bold>
</font>
</property>
@@ -252,7 +250,6 @@ QComboBox QAbstractItemView::item {
<property name="font">
<font>
<pointsize>10</pointsize>
- <weight>75</weight>
<bold>true</bold>
</font>
</property>
@@ -285,7 +282,6 @@ QComboBox QAbstractItemView::item {
<property name="font">
<font>
<pointsize>10</pointsize>
- <weight>75</weight>
<bold>true</bold>
</font>
</property>
@@ -341,7 +337,6 @@ QComboBox QAbstractItemView::item {
<font>
<family>Bitstream Vera Sans</family>
<pointsize>13</pointsize>
- <weight>75</weight>
<bold>true</bold>
</font>
</property>
@@ -384,7 +379,6 @@ QComboBox QAbstractItemView::item {
<font>
<family>Bitstream Vera Sans</family>
<pointsize>13</pointsize>
- <weight>75</weight>
<bold>true</bold>
</font>
</property>
@@ -485,7 +479,6 @@ QComboBox QAbstractItemView::item {
<property name="font">
<font>
<pointsize>10</pointsize>
- <weight>75</weight>
<bold>true</bold>
</font>
</property>