Add scroll bars to the mdi area

Tue, 28 Jun 2022 14:20:08 +0300

author
Teemu Piippo <teemu.s.piippo@gmail.com>
date
Tue, 28 Jun 2022 14:20:08 +0300
changeset 287
59562d8f8372
parent 286
04478da357d0
child 288
169b30f282bd

Add scroll bars to the mdi area

src/mainwindow.ui file | annotate | diff | comparison | revisions
--- a/src/mainwindow.ui	Tue Jun 28 14:10:27 2022 +0300
+++ b/src/mainwindow.ui	Tue Jun 28 14:20:08 2022 +0300
@@ -17,6 +17,12 @@
    <layout class="QVBoxLayout" name="verticalLayout_3">
     <item>
      <widget class="QMdiArea" name="mdiArea">
+      <property name="verticalScrollBarPolicy">
+       <enum>Qt::ScrollBarAsNeeded</enum>
+      </property>
+      <property name="horizontalScrollBarPolicy">
+       <enum>Qt::ScrollBarAsNeeded</enum>
+      </property>
       <property name="viewMode">
        <enum>QMdiArea::TabbedView</enum>
       </property>

mercurial