mirror of
https://github.com/ankitects/anki.git
synced 2025-09-19 06:22:22 -04:00
fix study screen when larger font used
This commit is contained in:
parent
450d4ed354
commit
c86647eee0
2 changed files with 11 additions and 37 deletions
|
@ -2097,7 +2097,7 @@ Consider backing up your media directory first."""))
|
||||||
|
|
||||||
def changeLayoutSpacing(self):
|
def changeLayoutSpacing(self):
|
||||||
if sys.platform.startswith("darwin"):
|
if sys.platform.startswith("darwin"):
|
||||||
self.mainWin.studyOptionsFrame.setFixedWidth(400)
|
#self.mainWin.studyOptionsFrame.setFixedWidth(400)
|
||||||
self.mainWin.studyOptionsReviewBar.setContentsMargins(0, 20, 0, 0)
|
self.mainWin.studyOptionsReviewBar.setContentsMargins(0, 20, 0, 0)
|
||||||
self.mainWin.optionsBox.layout().setSpacing(10)
|
self.mainWin.optionsBox.layout().setSpacing(10)
|
||||||
self.mainWin.optionsBox.layout().setContentsMargins(4, 10, 4, 4)
|
self.mainWin.optionsBox.layout().setContentsMargins(4, 10, 4, 4)
|
||||||
|
|
|
@ -5,7 +5,7 @@
|
||||||
<rect>
|
<rect>
|
||||||
<x>0</x>
|
<x>0</x>
|
||||||
<y>0</y>
|
<y>0</y>
|
||||||
<width>639</width>
|
<width>723</width>
|
||||||
<height>504</height>
|
<height>504</height>
|
||||||
</rect>
|
</rect>
|
||||||
</property>
|
</property>
|
||||||
|
@ -27,7 +27,7 @@
|
||||||
<rect>
|
<rect>
|
||||||
<x>0</x>
|
<x>0</x>
|
||||||
<y>69</y>
|
<y>69</y>
|
||||||
<width>639</width>
|
<width>723</width>
|
||||||
<height>415</height>
|
<height>415</height>
|
||||||
</rect>
|
</rect>
|
||||||
</property>
|
</property>
|
||||||
|
@ -381,7 +381,7 @@
|
||||||
<rect>
|
<rect>
|
||||||
<x>0</x>
|
<x>0</x>
|
||||||
<y>0</y>
|
<y>0</y>
|
||||||
<width>368</width>
|
<width>446</width>
|
||||||
<height>57</height>
|
<height>57</height>
|
||||||
</rect>
|
</rect>
|
||||||
</property>
|
</property>
|
||||||
|
@ -397,7 +397,7 @@
|
||||||
</sizepolicy>
|
</sizepolicy>
|
||||||
</property>
|
</property>
|
||||||
<property name="currentIndex" >
|
<property name="currentIndex" >
|
||||||
<number>0</number>
|
<number>3</number>
|
||||||
</property>
|
</property>
|
||||||
<widget class="QWidget" name="blankPage" >
|
<widget class="QWidget" name="blankPage" >
|
||||||
<property name="geometry" >
|
<property name="geometry" >
|
||||||
|
@ -477,7 +477,7 @@
|
||||||
<rect>
|
<rect>
|
||||||
<x>0</x>
|
<x>0</x>
|
||||||
<y>0</y>
|
<y>0</y>
|
||||||
<width>368</width>
|
<width>446</width>
|
||||||
<height>358</height>
|
<height>358</height>
|
||||||
</rect>
|
</rect>
|
||||||
</property>
|
</property>
|
||||||
|
@ -512,12 +512,6 @@
|
||||||
</item>
|
</item>
|
||||||
<item>
|
<item>
|
||||||
<widget class="QFrame" name="studyOptionsFrame" >
|
<widget class="QFrame" name="studyOptionsFrame" >
|
||||||
<property name="maximumSize" >
|
|
||||||
<size>
|
|
||||||
<width>350</width>
|
|
||||||
<height>16777215</height>
|
|
||||||
</size>
|
|
||||||
</property>
|
|
||||||
<property name="frameShape" >
|
<property name="frameShape" >
|
||||||
<enum>QFrame::StyledPanel</enum>
|
<enum>QFrame::StyledPanel</enum>
|
||||||
</property>
|
</property>
|
||||||
|
@ -535,12 +529,6 @@
|
||||||
</property>
|
</property>
|
||||||
<item>
|
<item>
|
||||||
<widget class="QLabel" name="optionsLabel" >
|
<widget class="QLabel" name="optionsLabel" >
|
||||||
<property name="minimumSize" >
|
|
||||||
<size>
|
|
||||||
<width>400</width>
|
|
||||||
<height>0</height>
|
|
||||||
</size>
|
|
||||||
</property>
|
|
||||||
<property name="text" >
|
<property name="text" >
|
||||||
<string>xxx</string>
|
<string>xxx</string>
|
||||||
</property>
|
</property>
|
||||||
|
@ -721,24 +709,10 @@
|
||||||
<widget class="QComboBox" name="newCardOrder" />
|
<widget class="QComboBox" name="newCardOrder" />
|
||||||
</item>
|
</item>
|
||||||
<item>
|
<item>
|
||||||
<widget class="QComboBox" name="newCardScheduling" >
|
<widget class="QComboBox" name="newCardScheduling" />
|
||||||
<property name="maximumSize" >
|
|
||||||
<size>
|
|
||||||
<width>400</width>
|
|
||||||
<height>16777215</height>
|
|
||||||
</size>
|
|
||||||
</property>
|
|
||||||
</widget>
|
|
||||||
</item>
|
</item>
|
||||||
<item>
|
<item>
|
||||||
<widget class="QComboBox" name="revCardOrder" >
|
<widget class="QComboBox" name="revCardOrder" />
|
||||||
<property name="maximumSize" >
|
|
||||||
<size>
|
|
||||||
<width>400</width>
|
|
||||||
<height>16777215</height>
|
|
||||||
</size>
|
|
||||||
</property>
|
|
||||||
</widget>
|
|
||||||
</item>
|
</item>
|
||||||
<item>
|
<item>
|
||||||
<widget class="QComboBox" name="failedCardsOption" />
|
<widget class="QComboBox" name="failedCardsOption" />
|
||||||
|
@ -1187,7 +1161,7 @@
|
||||||
<rect>
|
<rect>
|
||||||
<x>0</x>
|
<x>0</x>
|
||||||
<y>0</y>
|
<y>0</y>
|
||||||
<width>639</width>
|
<width>723</width>
|
||||||
<height>23</height>
|
<height>23</height>
|
||||||
</rect>
|
</rect>
|
||||||
</property>
|
</property>
|
||||||
|
@ -1338,7 +1312,7 @@
|
||||||
<rect>
|
<rect>
|
||||||
<x>0</x>
|
<x>0</x>
|
||||||
<y>484</y>
|
<y>484</y>
|
||||||
<width>639</width>
|
<width>723</width>
|
||||||
<height>20</height>
|
<height>20</height>
|
||||||
</rect>
|
</rect>
|
||||||
</property>
|
</property>
|
||||||
|
@ -1354,7 +1328,7 @@
|
||||||
<rect>
|
<rect>
|
||||||
<x>0</x>
|
<x>0</x>
|
||||||
<y>23</y>
|
<y>23</y>
|
||||||
<width>639</width>
|
<width>723</width>
|
||||||
<height>46</height>
|
<height>46</height>
|
||||||
</rect>
|
</rect>
|
||||||
</property>
|
</property>
|
||||||
|
|
Loading…
Reference in a new issue