fixed page browser resize for mac

git-svn-id: http://comictagger.googlecode.com/svn/trunk@105 6c5673fe-1810-88d6-992b-cd32ca31540c
This commit is contained in:
beville@gmail.com 2012-11-27 23:19:41 +00:00
parent 996dd57478
commit 13161179be
2 changed files with 6 additions and 4 deletions

View File

@ -108,6 +108,8 @@ class PageBrowserWindow(QtGui.QDialog):
new_w = 0;
scaled_pixmap = self.current_pixmap.scaled(new_w, new_h, QtCore.Qt.KeepAspectRatio)
self.lblPage.setPixmap( scaled_pixmap )
#QtCore.QCoreApplication.processEvents()

View File

@ -11,7 +11,7 @@
</rect>
</property>
<property name="sizePolicy">
<sizepolicy hsizetype="Fixed" vsizetype="Fixed">
<sizepolicy hsizetype="Expanding" vsizetype="Expanding">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
@ -25,15 +25,15 @@
<item>
<widget class="QLabel" name="lblPage">
<property name="sizePolicy">
<sizepolicy hsizetype="Preferred" vsizetype="Expanding">
<sizepolicy hsizetype="Expanding" vsizetype="Expanding">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="minimumSize">
<size>
<width>100</width>
<height>150</height>
<width>200</width>
<height>300</height>
</size>
</property>
<property name="frameShape">