示例修改

This commit is contained in:
yanghy 2024-02-27 09:31:30 +08:00
parent c692493122
commit 9c4d0e5b61

View File

@ -332,6 +332,8 @@ func toolBar(window *cef.LCLBrowserWindow, toolPanel *lcl.TPanel) (goBack *lcl.T
// window窗口下面, 特殊一点吧放两个browser
func windowBottomLayout(window *cef.LCLBrowserWindow) *lcl.TPageControl {
lock.Lock()
defer lock.Unlock()
bottomBoxPanel := lcl.NewPanel(window)
bottomBoxPanel.SetParent(window)
// 设置窗口下面的panel位置和宽高要把上面panel高算上