From fc0eb9d0e457236fc7a588b8be95a6829354dd25 Mon Sep 17 00:00:00 2001 From: anuko Date: Tue, 2 Jan 2018 23:41:22 +0000 Subject: [PATCH] Style fix for week view. --- WEB-INF/templates/footer.tpl | 2 +- week.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/WEB-INF/templates/footer.tpl b/WEB-INF/templates/footer.tpl index 7321b878..d6541b24 100644 --- a/WEB-INF/templates/footer.tpl +++ b/WEB-INF/templates/footer.tpl @@ -12,7 +12,7 @@
-
 Anuko Time Tracker 1.13.5.3714 | Copyright © Anuko | +  Anuko Time Tracker 1.13.6.3715 | Copyright © Anuko | {$i18n.footer.credits} | {$i18n.footer.license} | {$i18n.footer.improve} diff --git a/week.php b/week.php index bc1e4717..4de08c99 100644 --- a/week.php +++ b/week.php @@ -148,7 +148,7 @@ class TimeCellRenderer extends DefaultCellRenderer { if ($lockedDays[$column-1]) $field->setEnabled(false); $field->setFormName($table->getFormName()); - $field->setSize(2); + $field->setStyle('width: 60px;'); // TODO: need to style everything properly, eventually. $field->setValue($table->getValueAt($row,$column)['duration']); // Disable control when time entry mode is TYPE_START_FINISH and there is no value in control // because we can't supply start and finish times in week view - there are no fields for them. -- 2.20.1