andyhill Posted November 28, 2018 Share Posted November 28, 2018 Please advise CSS for Mobile Menu Scroll overflow-y: auto Link to comment Share on other sites More sharing options...
Sherzod Posted November 29, 2018 Share Posted November 29, 2018 10 hours ago, andyhill said: Please advise CSS for Mobile Menu Scroll Hi, Sorry, can you explain in more details? Link to comment Share on other sites More sharing options...
andyhill Posted November 29, 2018 Author Share 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%"});})'); Link to comment Share on other sites More sharing options...
Sherzod Posted November 30, 2018 Share Posted November 30, 2018 Hello, Can you please make a simple testcase for better understanding ?! Link to comment Share on other sites More sharing options...
andyhill Posted November 30, 2018 Author Share Posted November 30, 2018 As requested Project1.zip Link to comment Share on other sites More sharing options...
Sherzod Posted December 1, 2018 Share 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; Link to comment Share on other sites More sharing options...
andyhill Posted December 1, 2018 Author Share 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. Link to comment Share on other sites More sharing options...
andyhill Posted December 3, 2018 Author Share Posted December 3, 2018 Any progress ? Link to comment Share on other sites More sharing options...
Sherzod Posted December 3, 2018 Share Posted December 3, 2018 11 minutes ago, andyhill said: Any progress ? Please open a ticket in support portal Link to comment Share on other sites More sharing options...
55143681 Posted February 10, 2019 Share Posted February 10, 2019 I have the same question,under desktop that works well ,but under mobile that does not work. Link to comment Share on other sites More sharing options...
Sherzod Posted February 10, 2019 Share Posted February 10, 2019 Which build are you using? Link to comment Share on other sites More sharing options...
Sherzod Posted February 10, 2019 Share Posted February 10, 2019 uniGUI - v1.70.0.1485: [UNG-2720] - TUnimMenu Scrollable property Link to comment Share on other sites More sharing options...
Recommended Posts