aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorConfuSomu2023-08-02 12:38:16 +0200
committerConfuSomu2023-08-02 12:38:16 +0200
commit1500681405804b932761db7a0182d498894ad81c (patch)
treeb9ed278a8b10a7eabd5b743262d21f2dadb4cd3c /src
parent56a64ae4c5c4cf3fb567445a1bcec0f3a9db143c (diff)
downloadActorViewer-1500681405804b932761db7a0182d498894ad81c.tar
ActorViewer-1500681405804b932761db7a0182d498894ad81c.tar.gz
ActorViewer-1500681405804b932761db7a0182d498894ad81c.zip
Fix ellipsis being outside of viewport in list
Some list widget items have lines which where horizontally extending outside of the viewport, creating a horizontal scrollbar and placing ellipsis outside of the visible area. This commit fixes this problem by making sure that ellipsis are placed at the end of the visible lines, made possible by forbidding horizontal scroll bars which forbids horizontal scrolling (hopefully this is not a bug as I don't see any similar property that can be adjusted).
Diffstat (limited to 'src')
-rw-r--r--src/mainwindow.ui3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/mainwindow.ui b/src/mainwindow.ui
index f4bd5a0..cd351d4 100644
--- a/src/mainwindow.ui
+++ b/src/mainwindow.ui
@@ -31,6 +31,9 @@
</item>
<item row="1" column="0">
<widget class="QListWidget" name="listWidget">
+ <property name="horizontalScrollBarPolicy">
+ <enum>Qt::ScrollBarAlwaysOff</enum>
+ </property>
<property name="uniformItemSizes">
<bool>true</bool>
</property>