[Avida-cvs] [avida-svn] r894 - branches/developers/avida-edward/source/python/AvidaGui2
gerrishj at myxo.css.msu.edu
gerrishj at myxo.css.msu.edu
Thu Aug 24 12:50:41 PDT 2006
Author: gerrishj
Date: 2006-08-24 15:50:41 -0400 (Thu, 24 Aug 2006)
New Revision: 894
Modified:
branches/developers/avida-edward/source/python/AvidaGui2/pyInstructionDescriptionCtrl.py
branches/developers/avida-edward/source/python/AvidaGui2/pyOrganismScopeCtrl.py
Log:
Fixed up screen resizing issues with Windows. Limit widget heights in organism viewer.
Modified: branches/developers/avida-edward/source/python/AvidaGui2/pyInstructionDescriptionCtrl.py
===================================================================
--- branches/developers/avida-edward/source/python/AvidaGui2/pyInstructionDescriptionCtrl.py 2006-08-24 17:47:14 UTC (rev 893)
+++ branches/developers/avida-edward/source/python/AvidaGui2/pyInstructionDescriptionCtrl.py 2006-08-24 19:50:41 UTC (rev 894)
@@ -66,9 +66,9 @@
if not name: self.setName("pyInstructionDescriptionCtrl")
font = QFont(qApp.font())
- font.setPointSize(9)
self.setFont(font)
-
+ font.setPointSize(8)
+ self.setMaximumHeight(60)
self.setAlignment(Qt.WordBreak)
self.setReadOnly(True)
self.read_fn = None
Modified: branches/developers/avida-edward/source/python/AvidaGui2/pyOrganismScopeCtrl.py
===================================================================
--- branches/developers/avida-edward/source/python/AvidaGui2/pyOrganismScopeCtrl.py 2006-08-24 17:47:14 UTC (rev 893)
+++ branches/developers/avida-edward/source/python/AvidaGui2/pyOrganismScopeCtrl.py 2006-08-24 19:50:41 UTC (rev 894)
@@ -133,6 +133,7 @@
self.qobj = qobj
# FIXME : remove hard-coding of 2000 below. @kgn
self.progress_bar = QProgressBar(2000)
+ self.progress_bar.setMaximumHeight(13)
QToolTip.add(self.progress_bar,"Loading movie")
self.qobj.emit(PYSIGNAL("addStatusBarWidgetSig"), (self.progress_bar, 0, True))
def clear(self):
More information about the Avida-cvs
mailing list