Fix GUI default layouts.

[DEVELOPMENT ENVIRONMENT]
* BUG: Fix GUI default layouts.
This commit is contained in:
gambas 2020-10-11 22:37:52 +02:00
parent 10427e7ac9
commit c3e224bd76
3 changed files with 15 additions and 19 deletions

View file

@ -1748,13 +1748,9 @@ Private Sub LoadLayout(sName As String)
RefreshWindow
For Each sSlot In hSettings.Keys
For Each sKey In hSettings.Keys[sSlot]
For Each sKey In hSettings.Keys["Toolbar"]
vVal = hSettings[sSlot &/ sKey]
If sSlot = "Toolbar" Then
ToolBar.SetLayout(LCase(sKey), vVal)
Endif
Next
ToolBar.SetLayout(sKey, vVal)
Next
Finally

View file

@ -14,10 +14,10 @@ Zoom=90
Help=False
[Toolbar]
Main="Tiny,menu-file,new-project,open-project,save-project,save-project-as,project-property,|,menu-edit,menu-project,exec,translate,|,compile,compile-all,menu-debug,start,pause,stop,step,forward,return,until,gui,|,option,menu-tool,menu-view,menu-help,~,find-project,go-back,go-forward,$btnShowMenu"
Editor="Tiny"
Text="Tiny"
Connection="Tiny"
Form="Tiny,show-class,save,reload,run-me,|,undo,redo,|,menu,grid,tooltip,|,raise,lower,align-top,align-bottom,align-left,align-right,same-width,same-height,arrange-hcenter,arrange-vcenter,|,move-tab-first,move-tab-previous,move-tab-next,move-tab-last,show-tab,|,text-font,text-bold,text-italic,text-underline,text-zoom-in,text-zoom-out,text-zoom-normal,format-background,format-foreground,~,locked"
Image="Tiny"
FMain.main="Tiny,menu-file,new-project,open-project,save-project,save-project-as,project-property,|,menu-edit,menu-project,exec,translate,|,compile,compile-all,menu-debug,start,pause,stop,step,forward,return,until,gui,|,option,menu-tool,menu-view,menu-help,~,find-project,go-back,go-forward,$btnShowMenu"
FEditor.editor="Tiny"
FTextEditor.text="Tiny"
FConnection.connection="Tiny"
FForm.form="Tiny,show-class,save,reload,run-me,|,undo,redo,|,menu,grid,tooltip,|,raise,lower,align-top,align-bottom,align-left,align-right,same-width,same-height,arrange-hcenter,arrange-vcenter,|,move-tab-first,move-tab-previous,move-tab-next,move-tab-last,show-tab,|,text-font,text-bold,text-italic,text-underline,text-zoom-in,text-zoom-out,text-zoom-normal,format-background,format-foreground,~,locked"
FImageEditor.image="Tiny"

View file

@ -14,10 +14,10 @@ Zoom=80
Help=True
[Toolbar]
Main="Tiny"
Editor="Tiny"
Text="Tiny"
Connection="Tiny"
Form="Tiny"
Image="Tiny"
FMain.main="Tiny"
FEditor.editor="Tiny"
FTextEditor.text="Tiny"
FConnectionEditor.connection="Tiny"
FForm.form="Tiny"
FImageEditor.image="Tiny"