andyhill Posted November 28, 2018 Posted November 28, 2018 Please advise CSS for Mobile Menu Scroll overflow-y: auto
Sherzod Posted November 29, 2018 Posted November 29, 2018 10 hours ago, andyhill said: Please advise CSS for Mobile Menu Scroll Hi, Sorry, can you explain in more details?
andyhill Posted November 29, 2018 Author Posted November 29, 2018 This works for TUnimTreeMenu CustomCSS.Add('.x-treelist-nav'); CustomCSS.Add('{'); CustomCSS.Add(' overflow-y: auto'); CustomCSS.Add('}'); How do we do the same with TUnimMenu ? The JS code below fails UniSession.AddJS('Ext.onReady(function(){'+ Menu.JSName +'.setConfig({scrollable:"vertical", width:"20%"});})');
Sherzod Posted November 30, 2018 Posted November 30, 2018 Hello, Can you please make a simple testcase for better understanding ?!
Sherzod Posted December 1, 2018 Posted December 1, 2018 20 hours ago, andyhill said: As requested Project1.zip Can you try this approach for now? procedure TMainmForm.UnimFormCreate(Sender: TObject); begin UniSession.AddJS('Ext.onReady(function(){var rm=Ext.Viewport.getMenus().right; if (rm) rm.setScrollable(true);})'); ... end;
andyhill Posted December 1, 2018 Author Posted December 1, 2018 Fails, makes no difference on Mobile iOS ? If it helps, Menu is Hidden by default and is only shown via a TitleButton selection.
Sherzod Posted December 3, 2018 Posted December 3, 2018 11 minutes ago, andyhill said: Any progress ? Please open a ticket in support portal
55143681 Posted February 10, 2019 Posted February 10, 2019 I have the same question,under desktop that works well ,but under mobile that does not work.
Sherzod Posted February 10, 2019 Posted February 10, 2019 uniGUI - v1.70.0.1485: [UNG-2720] - TUnimMenu Scrollable property
Recommended Posts