From 792055d6508ab19156b541c8310a6c15c470c1b5 Mon Sep 17 00:00:00 2001 From: Aaron Chen <462826@qq.com> Date: Mon, 2 Sep 2019 18:33:32 +0800 Subject: [PATCH] test on win10 --- src/ui/page/report-bug.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/ui/page/report-bug.go b/src/ui/page/report-bug.go index b5c9452b..048411d7 100644 --- a/src/ui/page/report-bug.go +++ b/src/ui/page/report-bug.go @@ -33,13 +33,13 @@ func InitReportBugPage(resultDir string, caseId string) error { // title left := x right := left + widget.TextWidthFull - 5 - titleInput := widget.NewTextWidget("titleInput", left, y, widget.TextWidthFull-5, bug.Title) + titleInput := widget.NewTextWidget("titleInput", left, y, widget.TextWidthFull-5, "bug.Title") ui.ViewMap["reportBug"] = append(ui.ViewMap["reportBug"], titleInput.Name()) // steps left = right + ui.Space stepsWidth := w - left - 3 - stepsInput := widget.NewTextareaWidget("stepsInput", left, y, stepsWidth, h-constant.CmdViewHeight-2, bug.Steps) + stepsInput := widget.NewTextareaWidget("stepsInput", left, y, stepsWidth, h-constant.CmdViewHeight-2, "bug.Steps") stepsInput.Title = i118Utils.I118Prt.Sprintf("steps") ui.ViewMap["reportBug"] = append(ui.ViewMap["reportBug"], stepsInput.Name()) -- GitLab