projects
/
gonvert
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
88cfa87
)
Adjusting column sizes
author
Ed Page
<eopage@byu.net>
Fri, 11 Jun 2010 14:11:52 +0000
(09:11 -0500)
committer
Ed Page
<eopage@byu.net>
Fri, 11 Jun 2010 14:11:52 +0000
(09:11 -0500)
src/gonvert_qt.py
patch
|
blob
|
history
diff --git
a/src/gonvert_qt.py
b/src/gonvert_qt.py
index
170e500
..
d2c0792
100755
(executable)
--- a/
src/gonvert_qt.py
+++ b/
src/gonvert_qt.py
@@
-1609,7
+1609,7
@@
class UnitWindow(object):
viewHeader.setStretchLastSection(False)
# Trying to make things faster by locking in the initial size of the immutable columns
viewHeader.setStretchLastSection(False)
# Trying to make things faster by locking in the initial size of the immutable columns
- nameSize = min(viewHeader.sectionSize(UnitData.NAME_COLUMN), 150)
+ nameSize = min(viewHeader.sectionSize(UnitData.NAME_COLUMN), 300)
viewHeader.setResizeMode(UnitData.NAME_COLUMN, QtGui.QHeaderView.Fixed)
viewHeader.resizeSection(UnitData.NAME_COLUMN, nameSize)
unitSize = min(viewHeader.sectionSize(UnitData.UNIT_COLUMN), 150)
viewHeader.setResizeMode(UnitData.NAME_COLUMN, QtGui.QHeaderView.Fixed)
viewHeader.resizeSection(UnitData.NAME_COLUMN, nameSize)
unitSize = min(viewHeader.sectionSize(UnitData.UNIT_COLUMN), 150)