mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
...
This commit is contained in:
parent
0b7c95d3a6
commit
8b4fe47566
@ -11,7 +11,7 @@ import sys
|
|||||||
from PyQt4.Qt import (
|
from PyQt4.Qt import (
|
||||||
QSplitter, QVBoxLayout, QTableView, QWidget, QLabel, QAbstractTableModel,
|
QSplitter, QVBoxLayout, QTableView, QWidget, QLabel, QAbstractTableModel,
|
||||||
Qt, QApplication, QTimer, QPushButton, pyqtSignal, QFormLayout, QLineEdit,
|
Qt, QApplication, QTimer, QPushButton, pyqtSignal, QFormLayout, QLineEdit,
|
||||||
QIcon)
|
QIcon, QSize)
|
||||||
|
|
||||||
from calibre.ebooks.oeb.polish.container import get_container
|
from calibre.ebooks.oeb.polish.container import get_container
|
||||||
from calibre.ebooks.oeb.polish.fonts import font_family_data, change_font
|
from calibre.ebooks.oeb.polish.fonts import font_family_data, change_font
|
||||||
@ -198,6 +198,9 @@ class ManageFonts(Dialog):
|
|||||||
|
|
||||||
l.setAlignment(Qt.AlignTop | Qt.AlignHCenter)
|
l.setAlignment(Qt.AlignTop | Qt.AlignHCenter)
|
||||||
|
|
||||||
|
def sizeHint(self):
|
||||||
|
return Dialog.sizeHint(self) + QSize(100, 50)
|
||||||
|
|
||||||
def display(self):
|
def display(self):
|
||||||
if not self.isVisible():
|
if not self.isVisible():
|
||||||
self.show()
|
self.show()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user