diff --git a/fpga_device_manager/res/ui/main.ui b/fpga_device_manager/res/ui/main.ui
index 77b39b4d582273fc7557019237b9e66134597b1c..6c153099fcadb45a897b25ba0cfcace07fcf3eec 100755
--- a/fpga_device_manager/res/ui/main.ui
+++ b/fpga_device_manager/res/ui/main.ui
@@ -40,17 +40,11 @@
         <layout class="QVBoxLayout" name="verticalLayout_2">
          <item>
           <widget class="FPGAPreview" name="img_pins">
-           <property name="minimumSize">
-            <size>
-             <width>450</width>
-             <height>200</height>
-            </size>
-           </property>
-           <property name="maximumSize">
-            <size>
-             <width>450</width>
-             <height>200</height>
-            </size>
+           <property name="sizePolicy">
+            <sizepolicy hsizetype="Preferred" vsizetype="Maximum">
+             <horstretch>0</horstretch>
+             <verstretch>0</verstretch>
+            </sizepolicy>
            </property>
            <property name="toolTip">
             <string>Shows a preview of the FPGA pin connections.</string>