Do you see a scroll bar on the browser component? Did you try this on the device? Did you try it with the FX version of the browser component?
On Sunday, October 25, 2020 at 12:28:46 PM UTC+2 P5music wrote: > So I removed all useless calls to setScrollable kind of methods. > It is called just on the mainForm and/or its content pane. > mainForm.setScrollable(false); > OR > mainForm.getContentPane().setScrollableY(false); > is needed to let not scroll the entire user interface. > > But the BC is not scrollable. > If I set scrollableY=true for the left container it does not scroll either. > One of the BC or the left container has to be scrollable to fulfill my > needs. > > What further checks can be done? > Thanks > Il giorno domenica 25 ottobre 2020 alle 03:14:39 UTC+1 Shai Almog ha > scritto: > >> Don't change the scrollability of the browser component. >> >> That option is under zoom and it relates to the scrolling of the >> simulator skin itself. >> >> You don't need to explicitly call setScrollable(false) since that's the >> default. The only thing that's scrollable by default if the content pane of >> the main form. >> >> On Saturday, October 24, 2020 at 2:09:05 PM UTC+3 P5music wrote: >> >>> The CEF BC is used. >>> for the mainform: setScrollable(false) >>> for the BC: setScrollableY(true) >>> >>> There is no simulator menu entry "scrollable" to uncheck, and I do not >>> understand why to uncheck it anyway, and what it would refer to? >>> Please can you explain? >>> >>> I have nested containers and I set them all with setScrollableX(false) >>> and setScrollableY(false). >>> Also the result container of fab binding is set the same. (this result >>> container is added to the form) >>> >>> A thing has be noticed. >>> The most deep nested level is a BorderLayout. It has in the north a >>> vertically-short container, then in the center it has the BrowserComponent. >>> When attempting to scroll the BC, just sometimes I see a very tiny >>> movement of the entire BC including the vertical scrollbar, but not the >>> other container in north position. >>> This reminds me that something is scrolling that's surrounding the BC >>> but I cannot understand what. >>> Do you see anything about this? >>> >>> Il giorno sabato 24 ottobre 2020 alle 07:32:54 UTC+2 Shai Almog ha >>> scritto: >>> >>>> How is it set to scrollable? >>>> If you mean in the simulator menu try to uncheck scrollable. >>>> >>>> Are you using CEF or the FX based browser? >>>> >>>> On Friday, October 23, 2020 at 5:41:50 PM UTC+3 P5music wrote: >>>> >>>>> My CodenameApp has a main form that splits the screen like a master >>>>> detail layout in landscape mode. It is set not scrollable. >>>>> A table layout is used with some constraints to have this appearance. >>>>> I am testint the app in the simulator. >>>>> In the left part a BrowserComponent is inside a container and displays >>>>> some HTML code. >>>>> I see that the vertical bar appears on the BC because the HTML >>>>> overflows vertically, but cannot be moved, it is blocked. >>>>> The BC is not resposive to the mouse wheel too. It is set scrollable. >>>>> >>>>> The container is bound to the FloatingActionButton that is floating on >>>>> the container itself and the BC. >>>>> >>>>> Do you know any issue that prevents the BC from being scrolled? Is it >>>>> something related to the Version 7.0 milestone issues? >>>>> Thanks in advance >>>>> >>>>> -- You received this message because you are subscribed to the Google Groups "CodenameOne Discussions" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/codenameone-discussions/9b887efd-829a-400d-89a5-ed8c5097d3ddn%40googlegroups.com.
