The menu bar is now implemented with a 'row' arrangement, so that menu entries are still visible when the browser page shrinks horizontally.

[GB.WEB.GUI]
* BUG: The menu bar is now implemented with a 'row' arrangement, so that menu entries are still visible when the browser page shrinks horizontally.
This commit is contained in:
Benoît Minisini 2023-09-15 15:56:29 +02:00
parent c3549acd6e
commit 3a515efc15
4 changed files with 30 additions and 3 deletions

View file

@ -1,4 +1,9 @@
' Gambas class file
Inherits WebHBox
Inherits WebContainer
Public Sub _new()
Me.Arrangement = Arrange.Row
End

View file

@ -18,7 +18,7 @@ Property Read Path As String
Property User As String
Private $sCookie As String
Private $fTimeout As Float = 300
Private $fTimeout As Float = 600
Private $sUser As String
Private $sDir As String
Private $cData As New Collection

View file

@ -66,6 +66,24 @@
Text = ("WebMenu6")
}
}
{ WebMenu18 WebMenu
Text = ("WebMenu18")
}
{ WebMenu19 WebMenu
Text = ("WebMenu19")
}
{ WebMenu20 WebMenu
Text = ("WebMenu20")
}
{ WebMenu21 WebMenu
Text = ("WebMenu21")
}
{ WebMenu22 WebMenu
Text = ("WebMenu22")
}
{ WebMenu23 WebMenu
Text = ("WebMenu23")
}
{ WebTabPanel1 WebTabPanel
#MoveScaled(1,1,131,72)
Expand = True

View file

@ -1498,7 +1498,11 @@ gw = {
//xhr.gw_progress = 0;
xhr.gw_progress = 1;
gw.update(id, 'progress', 0, function() { xhr.gw_progress--; });
gw.update(id, 'progress', 0,
function()
{
xhr.gw_progress--;
});
form.append('file', file);
form.append('name', file.name);