From 8f7572a6130cc9e77d63be5287cd24768274c8d0 Mon Sep 17 00:00:00 2001 From: speauty Date: Thu, 2 Mar 2023 18:12:31 +0800 Subject: [PATCH] =?UTF-8?q?=E6=81=A2=E5=A4=8D=E7=9B=B8=E5=85=B3=E9=BB=98?= =?UTF-8?q?=E8=AE=A4=E5=80=BC;?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/ui/ui.go | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/ui/ui.go b/src/ui/ui.go index 836844d..8fdfd64 100644 --- a/src/ui/ui.go +++ b/src/ui/ui.go @@ -86,7 +86,7 @@ func (aw *AppWindow) newMainWindow() error { MinSize: Size{Width: 80}, MaxSize: Size{Width: 80, Height: 20}, AssignTo: &mtEngineComboBox, Model: mt.EngineALiYun.GetZHArrays(), - CurrentIndex: 1, + CurrentIndex: 0, }, HSpacer{}, }, @@ -130,14 +130,14 @@ func (aw *AppWindow) newMainWindow() error { HSplitter{ Children: []Widget{ Label{Text: "访问身份", ToolTipText: "AppId"}, - TextEdit{AssignTo: &bdIdEdit, Text: "2015063000000001"}, + TextEdit{AssignTo: &bdIdEdit}, HSpacer{}, }, }, HSplitter{ Children: []Widget{ Label{Text: "访问密钥", ToolTipText: "AppSecret"}, - TextEdit{AssignTo: &bdKeyEdit, Text: "12345678"}, + TextEdit{AssignTo: &bdKeyEdit}, HSpacer{}, }, }, @@ -216,7 +216,7 @@ func (aw *AppWindow) newMainWindow() error { _ = subtitleFileEdit.SetText(dlg.FilePath) }, }, - TextEdit{AssignTo: &subtitleFileEdit, ReadOnly: true, HScroll: true, Text: "E:\\工作空间\\小工具\\test.srt"}, + TextEdit{AssignTo: &subtitleFileEdit, ReadOnly: true, HScroll: true}, }, }, HSplitter{ @@ -242,7 +242,7 @@ func (aw *AppWindow) newMainWindow() error { _ = subtitleFileSave.SetText(dlg.FilePath) }, }, - TextEdit{AssignTo: &subtitleFileSave, ReadOnly: true, HScroll: true, Text: "E:\\OneDrive\\桌面"}, + TextEdit{AssignTo: &subtitleFileSave, ReadOnly: true, HScroll: true}, }, }, VSpacer{},