Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
1.2k views
in Technique[技术] by (71.8m points)

electron9.0.3版本无边窗弹窗出现的位置,总是不对。

原electron版本9.0.0,为了解决pdf预览问题升级到了9.0.3.
发现在linux上双屏的情况下无法全屏
且程序界面总是出现在副屏幕,
通过渲染进程设置{x:0,y:0},
成功将程序界面设置到了主屏幕。
但又出现了新问题,
原本通过按钮,
来触发的子级无边框browerWindow,
设置了{x:0,y:0},还是出现在副屏幕,
通过渲染进程设置位置也无法移动子弹窗位置,
但是把无边框变成有边框,{x:0,y:0}就生效了,
求大佬解惑###


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)
等待大神解答

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...