提交 29a1bda1 编写于 作者: 之一Yo's avatar 之一Yo

fixes #241, #239

上级 c9a9bb23
...@@ -59,6 +59,7 @@ CalendarPicker { ...@@ -59,6 +59,7 @@ CalendarPicker {
font: 14px 'Segoe UI', 'Microsoft YaHei'; font: 14px 'Segoe UI', 'Microsoft YaHei';
padding: 5px 32px 6px 12px; padding: 5px 32px 6px 12px;
outline: none; outline: none;
text-align: left;
} }
......
...@@ -59,6 +59,7 @@ CalendarPicker { ...@@ -59,6 +59,7 @@ CalendarPicker {
font: 14px 'Segoe UI', 'Microsoft YaHei'; font: 14px 'Segoe UI', 'Microsoft YaHei';
padding: 5px 32px 6px 12px; padding: 5px 32px 6px 12px;
outline: none; outline: none;
text-align: left;
} }
......
此差异已折叠。
...@@ -157,7 +157,7 @@ class ScrollViewBase(QListWidget): ...@@ -157,7 +157,7 @@ class ScrollViewBase(QListWidget):
def __initWidget(self): def __initWidget(self):
self.setSpacing(0) self.setSpacing(0)
self.setDragEnabled(False) self.setMovement(QListWidget.Static)
self.setGridSize(self.gridSize()) self.setGridSize(self.gridSize())
self.setViewportMargins(0, 0, 0, 0) self.setViewportMargins(0, 0, 0, 0)
self.setItemDelegate(self.delegate) self.setItemDelegate(self.delegate)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册