[Avida-cvs] [avida-svn] r987 - branches/developers/avida-edward/source/python/AvidaGui2
gerrishj at myxo.css.msu.edu
gerrishj at myxo.css.msu.edu
Mon Sep 25 19:42:00 PDT 2006
Author: gerrishj
Date: 2006-09-25 22:42:00 -0400 (Mon, 25 Sep 2006)
New Revision: 987
Modified:
branches/developers/avida-edward/source/python/AvidaGui2/pyHideShowView.py
branches/developers/avida-edward/source/python/AvidaGui2/pyInstructionDescriptionCtrl.py
branches/developers/avida-edward/source/python/AvidaGui2/pyOrganismDataCtrl.py
Log:
Reduced size of instruction control and reduced font size to fix Windows height issue in organism viewer.
Modified: branches/developers/avida-edward/source/python/AvidaGui2/pyHideShowView.py
===================================================================
--- branches/developers/avida-edward/source/python/AvidaGui2/pyHideShowView.py 2006-09-25 21:50:49 UTC (rev 986)
+++ branches/developers/avida-edward/source/python/AvidaGui2/pyHideShowView.py 2006-09-26 02:42:00 UTC (rev 987)
@@ -20,7 +20,7 @@
# temporary
self.m_label = QLabel(self)
font = QFont(qApp.font())
- font.setPointSize(9)
+ font.setPointSize(8)
self.m_label.setFont(font)
h_layout1.addWidget(self.m_label)
Modified: branches/developers/avida-edward/source/python/AvidaGui2/pyInstructionDescriptionCtrl.py
===================================================================
--- branches/developers/avida-edward/source/python/AvidaGui2/pyInstructionDescriptionCtrl.py 2006-09-25 21:50:49 UTC (rev 986)
+++ branches/developers/avida-edward/source/python/AvidaGui2/pyInstructionDescriptionCtrl.py 2006-09-26 02:42:00 UTC (rev 987)
@@ -72,6 +72,7 @@
self.setAlignment(Qt.WordBreak)
self.setReadOnly(True)
self.read_fn = None
+ self.setMaximumHeight(60)
def setReadFn(self, sender, read_fn):
self.read_fn = read_fn
Modified: branches/developers/avida-edward/source/python/AvidaGui2/pyOrganismDataCtrl.py
===================================================================
--- branches/developers/avida-edward/source/python/AvidaGui2/pyOrganismDataCtrl.py 2006-09-25 21:50:49 UTC (rev 986)
+++ branches/developers/avida-edward/source/python/AvidaGui2/pyOrganismDataCtrl.py 2006-09-26 02:42:00 UTC (rev 987)
@@ -46,7 +46,7 @@
return task_descr
def labelSetup(parent, layout, name):
font = QFont(qApp.font())
- font.setPointSize(9)
+ font.setPointSize(8)
label = QLabel(parent.getSubwidget(), name)
label.setFont(font)
layout.addWidget(label)
More information about the Avida-cvs
mailing list