projects
/
gc-dialer
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
3f052f1
)
Fixing button sizing
author
Ed Page
<eopage@byu.net>
Fri, 5 Aug 2011 01:27:13 +0000
(20:27 -0500)
committer
Ed Page
<eopage@byu.net>
Fri, 5 Aug 2011 01:27:13 +0000
(20:27 -0500)
src/dialogs.py
patch
|
blob
|
history
diff --git
a/src/dialogs.py
b/src/dialogs.py
index
04c3b2b
..
8fbf328
100644
(file)
--- a/
src/dialogs.py
+++ b/
src/dialogs.py
@@
-249,8
+249,11
@@
class AccountDialog(QtCore.QObject, qwrappers.WindowWrapper):
self._cancelButton = QtGui.QPushButton("&Cancel")
self._cancelButton.clicked.connect(self._on_settings_cancel)
self._buttonLayout = QtGui.QHBoxLayout()
self._cancelButton = QtGui.QPushButton("&Cancel")
self._cancelButton.clicked.connect(self._on_settings_cancel)
self._buttonLayout = QtGui.QHBoxLayout()
+ self._buttonLayout.addStretch()
self._buttonLayout.addWidget(self._cancelButton)
self._buttonLayout.addWidget(self._cancelButton)
+ self._buttonLayout.addStretch()
self._buttonLayout.addWidget(self._applyButton)
self._buttonLayout.addWidget(self._applyButton)
+ self._buttonLayout.addStretch()
self._layout.addWidget(self._scrollSettings)
self._layout.addLayout(self._buttonLayout)
self._layout.addWidget(self._scrollSettings)
self._layout.addLayout(self._buttonLayout)
@@
-860,7
+863,9
@@
class SMSEntryWindow(qwrappers.WindowWrapper):
self._buttonLayout = QtGui.QHBoxLayout()
self._buttonLayout.addWidget(self._characterCountLabel)
self._buttonLayout = QtGui.QHBoxLayout()
self._buttonLayout.addWidget(self._characterCountLabel)
+ self._buttonLayout.addStretch()
self._buttonLayout.addWidget(self._singleNumberSelector)
self._buttonLayout.addWidget(self._singleNumberSelector)
+ self._buttonLayout.addStretch()
self._buttonLayout.addWidget(self._smsButton)
self._buttonLayout.addWidget(self._dialButton)
self._buttonLayout.addWidget(self._cancelButton)
self._buttonLayout.addWidget(self._smsButton)
self._buttonLayout.addWidget(self._dialButton)
self._buttonLayout.addWidget(self._cancelButton)