Author: croberts
Date: 2012-10-24 18:45:46 +0000 (Wed, 24 Oct 2012)
New Revision: 5522
Modified:
trunk/cumin/python/cumin/grid/negotiator.py
trunk/cumin/python/cumin/grid/scheduler.py
trunk/cumin/python/cumin/grid/submission.py
trunk/cumin/python/cumin/usergrid/widgets.py
Log:
Now specifying the width of name columns. This was necessary because the table itself is
now set to be fixed. With no specific value set, each column gets set to "auto"
which is good, but can result in part of the data being hidden at smaller screen widths.
Modified: trunk/cumin/python/cumin/grid/negotiator.py
===================================================================
--- trunk/cumin/python/cumin/grid/negotiator.py 2012-10-24 18:43:44 UTC (rev 5521)
+++ trunk/cumin/python/cumin/grid/negotiator.py 2012-10-24 18:45:46 UTC (rev 5522)
@@ -29,6 +29,7 @@
frame = "main.grid.negotiator"
col = ObjectLinkColumn(app, "name", cls.Name, cls._id, frame)
+ col.width="20%"
self.add_column(col)
self.add_attribute_column(cls.Machine)
Modified: trunk/cumin/python/cumin/grid/scheduler.py
===================================================================
--- trunk/cumin/python/cumin/grid/scheduler.py 2012-10-24 18:43:44 UTC (rev 5521)
+++ trunk/cumin/python/cumin/grid/scheduler.py 2012-10-24 18:45:46 UTC (rev 5522)
@@ -78,6 +78,7 @@
frame = "main.grid.scheduler"
col = ObjectLinkColumn(app, "name", cls.Name, cls._id, frame)
+ col.width="20%"
self.add_column(col)
self.add_attribute_column(cls.NumUsers)
Modified: trunk/cumin/python/cumin/grid/submission.py
===================================================================
--- trunk/cumin/python/cumin/grid/submission.py 2012-10-24 18:43:44 UTC (rev 5521)
+++ trunk/cumin/python/cumin/grid/submission.py 2012-10-24 18:45:46 UTC (rev 5522)
@@ -162,6 +162,7 @@
super(PoolSubmissionSelector, self).__init__(app, name)
col = self.PoolSubmissionObjectLinkColumn(app, "name", self.cls.Name,
self.cls._id, frame)
+ col.width="20%"
self.insert_column(0, col)
#self.add_search_filter(col)
Modified: trunk/cumin/python/cumin/usergrid/widgets.py
===================================================================
--- trunk/cumin/python/cumin/usergrid/widgets.py 2012-10-24 18:43:44 UTC (rev 5521)
+++ trunk/cumin/python/cumin/usergrid/widgets.py 2012-10-24 18:45:46 UTC (rev 5522)
@@ -114,6 +114,7 @@
frame = "main.submissions.submission"
col = self.UserSubmissionObjectLinkColumn(app, "name", self.cls.Name,
self.cls._id, frame)
+ col.width="25%"
self.insert_column(0, col)
#self.add_search_filter(col)
Show replies by date