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 RefreshWindow
For Each sSlot In hSettings.Keys For Each sKey In hSettings.Keys["Toolbar"]
For Each sKey In hSettings.Keys[sSlot] vVal = hSettings[sSlot &/ sKey]
vVal = hSettings[sSlot &/ sKey] ToolBar.SetLayout(sKey, vVal)
If sSlot = "Toolbar" Then
ToolBar.SetLayout(LCase(sKey), vVal)
Endif
Next
Next Next
Finally Finally

View file

@ -14,10 +14,10 @@ Zoom=90
Help=False Help=False
[Toolbar] [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" 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"
Editor="Tiny" FEditor.editor="Tiny"
Text="Tiny" FTextEditor.text="Tiny"
Connection="Tiny" FConnection.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" 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"
Image="Tiny" FImageEditor.image="Tiny"

View file

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