@@ -68,7 +68,7 @@ def __init__(self, parent, index, name):
68
68
self .image = QtWidgets .QLabel ()
69
69
self .image .setAlignment (QtCore .Qt .AlignHCenter |
70
70
QtCore .Qt .AlignVCenter )
71
- self .image .setMinimumSize (800 / 3 , 500 / 3 )
71
+ self .image .setMinimumSize (800 / 3 , 600 / 3 )
72
72
layout .addWidget (self .image )
73
73
self .setLayout (layout )
74
74
@@ -124,21 +124,21 @@ def __init__(self, entries):
124
124
for entry in entries :
125
125
self .filelist .addItem (entry .display )
126
126
127
- images_box = QtWidgets .QWidget ()
128
- images_layout = QtWidgets .QVBoxLayout ()
129
127
thumbnails_box = QtWidgets .QWidget ()
130
- thumbnails_layout = QtWidgets .QHBoxLayout ()
128
+ thumbnails_layout = QtWidgets .QVBoxLayout ()
131
129
self .thumbnails = []
132
130
for i , name in enumerate (('test' , 'expected' , 'diff' )):
133
131
thumbnail = Thumbnail (self , i , name )
134
132
thumbnails_layout .addWidget (thumbnail )
135
133
self .thumbnails .append (thumbnail )
136
134
thumbnails_box .setLayout (thumbnails_layout )
135
+
136
+ images_layout = QtWidgets .QVBoxLayout ()
137
+ images_box = QtWidgets .QWidget ()
137
138
self .image_display = QtWidgets .QLabel ()
138
139
self .image_display .setAlignment (QtCore .Qt .AlignHCenter |
139
140
QtCore .Qt .AlignVCenter )
140
- self .image_display .setMinimumSize (800 , 500 )
141
- images_layout .addWidget (thumbnails_box , 3 )
141
+ self .image_display .setMinimumSize (800 , 600 )
142
142
images_layout .addWidget (self .image_display , 6 )
143
143
images_box .setLayout (images_layout )
144
144
@@ -154,8 +154,9 @@ def __init__(self, entries):
154
154
images_layout .addWidget (buttons_box )
155
155
156
156
main_layout = QtWidgets .QHBoxLayout ()
157
- main_layout .addWidget (self .filelist , 3 )
158
- main_layout .addWidget (images_box , 6 )
157
+ main_layout .addWidget (self .filelist , 1 )
158
+ main_layout .addWidget (thumbnails_box , 1 )
159
+ main_layout .addWidget (images_box , 3 )
159
160
160
161
self .setLayout (main_layout )
161
162
0 commit comments