I set the glass according to the GWT dialog box. However, when the user scrolls in the window, the "glass effect" no longer covers the entire window.
Does anyone know how to fix this? Thanks so much for any advice!
You need a css property like
moveToPopUp.setGlassStyleName("myApp-PopupPanel-GlassStyle");
Where
.myApp-PopupPanel-GlassStyle{ background-color : #333; opacity : 0.4; clip : rect(auto,auto,auto,auto); }
There is no direct fix, but you can:1. Remove scroll when showing popup using addStyleName, removeStyleName2. There is another solution, but you must change the layout of your style and limit your functionality, so I do not recommend this. But if you are interested, I can describe it.
to try
glassPanel.setSize("100%", "100%");
where glassPanel is the name of your panel, be sure to specify the import statement.
glassPanel
Source: https://habr.com/ru/post/1385335/More articles:How to split a variable between Java and C in android JNI? - variablesWhich RPC module works through SSH, telnet and HTTP? - pythonWhich RPC module should be used to implement RCP in Python and the ability to change the connection method later? - pythonSimple Streaming API Script - phpNon-blocking asynchronous tests using QUnit - javascriptHow to calculate nviews return type - c ++Mapping custom types in NHibernate 3.2 - nhibernateFluent NHibernate tries to map a subclass of a subclass using a table per subclass - inheritanceDo I need to do something to use clojure.core / time? - clojureSet optional disabled attribute - htmlAll Articles