mirror of
https://gitee.com/energye/energy.git
synced 2024-12-02 11:47:37 +08:00
示例修改
This commit is contained in:
parent
c692493122
commit
9c4d0e5b61
@ -332,6 +332,8 @@ func toolBar(window *cef.LCLBrowserWindow, toolPanel *lcl.TPanel) (goBack *lcl.T
|
|||||||
|
|
||||||
// window窗口下面, 特殊一点吧,放两个browser
|
// window窗口下面, 特殊一点吧,放两个browser
|
||||||
func windowBottomLayout(window *cef.LCLBrowserWindow) *lcl.TPageControl {
|
func windowBottomLayout(window *cef.LCLBrowserWindow) *lcl.TPageControl {
|
||||||
|
lock.Lock()
|
||||||
|
defer lock.Unlock()
|
||||||
bottomBoxPanel := lcl.NewPanel(window)
|
bottomBoxPanel := lcl.NewPanel(window)
|
||||||
bottomBoxPanel.SetParent(window)
|
bottomBoxPanel.SetParent(window)
|
||||||
// 设置窗口下面的panel位置和宽高,要把上面panel高算上
|
// 设置窗口下面的panel位置和宽高,要把上面panel高算上
|
||||||
|
Loading…
Reference in New Issue
Block a user