On iOS and Mac Chrome, "FlexPanel" cuts off the bottom of one or both of my CellList widgets data, so that is why I went back to "Panel". It really does not matter whether I use FlexPanel or Panel - neither scrolls horizontally on Android. This is the current structure ( I changed "FlexPanel" to "Panel" ). To repeat and simplify my question: What would cause horizontal scrolling to fail only on Android, working perfectly on desktop and iOS devices? Maybe I need to add android custom appearance code for one of the widgets. Please point me in the direction of where to look. There is no custom Android and iOS FlexPanel appearance code, so I don't see how it can be at the FlexPanel level. There is no major difference between panel-android.css and panel-ios.css, so I don't see how it could be at the Panel level. What at the platform level could cause scrolling to not work? For instance, there is no custom Android or iOS ScrollPanel appearance code, so I don't see how it could be at the ScrollPanel level. I did all the comparisons I could think of, but I don't really know what to look for. Point being that this, while irritating, is not a show stopper.īut the scrolling issue is far more severe and only happens on Android. Not ideal, but I can set the width once the data is loaded, or on changes of orientation. I can sort of get around the header issue. CellList - new CellList(new InventorySummar圜ell()) Īs stated above, this works perfectly everywhere but on Android.FlexPanel - inventoryResults panel, where second batch of data goes, setWidth(InventorySummar圜ell.getTableWidth()).MGWT ScrollPanel - setScrollingEnabledY(false), setScrollingEnabledX(true), setScrollingEnabledX(true).MGWT HeaderPanel - "INVENTORY SUMMARIES".CellList - new CellList(new OrderSummar圜ell()).FlexPanel - orderResults panel, where first batch of data goes, setWidth( OrderSummar圜ell.getTableWidth()).MGWT ScrollPanel - setScrollingEnabledY(false), setScrollingEnabledX(true), setShowHorizontalScrollBar( true ).FlexPanel - resultsPanel, where all the data results are.FlexPanel - queryPanel, where dates and "Refresh" button are.MGWT ScrollPanel - outermost scroll panel, setScrollingEnabledX(false), setScrollingEnabledY(true), setShowVerticalScrollBar(true).MGWT HeaderPanel - where "Dashboard" is.Horizontal scrolling for 2 sub-ScrollPanel does not work - why and how to fix?.Issue, and does not explain why it works perfectly for all devices but I would have to then add an orientation handler toĪdjust it on orientation changes. To be same size as top header panel ( DASHBOARD ) offset size ( headerPanel.getOffsetWidth() ), that fixes the header That if, after loading the screen, on rendering the CellList, I set the header the 2 header panels ( ORDER SUMMARIES and INVENTORY SUMMARIES ) Header panel goes off the right side - why and how to fix?.Now, here are the two problems and my corresponding questions: The bottom CellList, which is inside a ScrollPanel directly under "INVENTORY SUMMARIES", should allow horizontal scrolling on all devices, but does not on Android.The second header should read "INVENTORY SUMMARIES", but is cutoff.
0 Comments
Leave a Reply. |