I would like to implement a toggle button which would resize the side menu to just show the icons and not labels (PFA) for more space for the main content area. Is there something already there for this. If not what should be the approach.
Since the UI is responsive, what I want is already happening on devices with smaller screens.
Also, is there some way that I can move the FTS search box from left side menu to top?
You can find to full definition of styles responsible for responsive side menu in the /halo/components/sidemenu/sidemenu.scss of the cuba-web-themes artifact.
Hi Gleb
I was looking for this and it worked nicely. A quick question, how can i make the side bar disappeared and show the button to display the whole side menu in desktop which is behavior like when we display it in a smart-phone?
I don’t understand what do you mean be Desktop. In CUBA Platform terminology the desktop module is an additional client module based on Swing. And it has no Side Menu.
Nevertheless, based on your screenshots, I can suggest you using styles for the drawer button to achieve what you want.
Add side-menu-drawer style to the root layout. Take notice that styles above applicable for responsive side menu template. If you use a different template you need to change styles according to your template.
As I said before, styles above applicable for responsive side menu template. If you use a different template you need to change styles according to your template.
Hello Gleb Gorelov… The demo project is nice… I want some customization in the demo project. plz advice me to implement the customization…
I want the side menu to be open by default (now the side menu is closed by default. And also it is closes after the side menu selection) If it is possible to configurable by property then it will be nice (i.e., whether it is open by default or not. So the user can define it…)
I want to put image on the top bar rather than a text… I’ve attached an image and marked with red indication for better understanding… Please help me regarding this…
Thank you Gleb Gorelov…![Screenshot from 2018-03-08 16-47-42|690x379]