From 44eaa4cd5ade7ac7a58900554c6c8768e61f3fca Mon Sep 17 00:00:00 2001 From: sunhao Date: Fri, 5 Jan 2024 11:33:16 +0800 Subject: [PATCH] * Change label width larger in forms. --- module/project/ui/create.html.php | 1 + module/story/ui/create.html.php | 1 + 2 files changed, 2 insertions(+) diff --git a/module/project/ui/create.html.php b/module/project/ui/create.html.php index a745555df7..317177dd3a 100644 --- a/module/project/ui/create.html.php +++ b/module/project/ui/create.html.php @@ -121,6 +121,7 @@ $currency = $parentProgram ? $parentProgram->budgetUnit : $config->project->de $labelClass = $config->project->labelClass[$model]; formPanel ( + set::labelWidth('100px'), to::heading(div ( setClass('panel-title text-lg'), diff --git a/module/story/ui/create.html.php b/module/story/ui/create.html.php index 995401b6ba..82708ce0a2 100644 --- a/module/story/ui/create.html.php +++ b/module/story/ui/create.html.php @@ -23,6 +23,7 @@ jsVar('branchCount', isset($fields['branches']['options']) ? count($fields['bran formPanel ( setID('dataform'), + set::labelWidth('100px'), set::ajax(array('beforeSubmit' => jsRaw('clickSubmit'))), to::heading(div (