feat: 兼容大显示器无法登录功能
This commit is contained in:
parent
79391f30e3
commit
50a42227b6
@ -32,7 +32,7 @@ class MyToolWindowFactory : ToolWindowFactory {
|
||||
val noSupportLabel = JBLabel(MyBundle.message("noSupport"))
|
||||
if (JBCefApp.isSupported()) {
|
||||
val jbcef = JBCefBrowser()
|
||||
jbcef.component.preferredSize = Dimension(800,900)
|
||||
jbcef.component.preferredSize = Dimension(900,900)
|
||||
add(jbcef.component, BorderLayout.CENTER)
|
||||
jbcef.loadURL("https://weread.qq.com/")
|
||||
} else {
|
Loading…
Reference in New Issue
Block a user