Howdy,
I’d like to ask, if possible, if there is a way yo have the menu like this?
This is from a frakework that is outdated, the “mochaUI”.
Would it be possible to have the menu like this?
Thanks in advanced,
Hi Jorge
You must follow this steps
1.- Create a new theme, using existing one, for example Blue-1
2.- Change to theme Graphite-3 and select the menu item
3.- Copy the section css from the Editor tab
“css”: “{\”before\”:{\”content\”:\”\”,\”display\”:\”block\”,\”position\”:\”absolute\”,\”top\”:\”0px\”,\”left\”:\”0px\”,\”width\”:\”32px\”,\”height\”:\”100%\”,\”background-color\”:\”control\”}}”
4.- Turn to your custom theme and find “menu” : in the editor tab
5. Add the css section copy in step 3 at the end of the block. like that
“menu”: {
“states”: {
“default”: {
“styles”: {
“width”: [1, 1, 1, 1],
“color”: “windowFrame”,
“backgroundColor”: “menu”,
“shadowColor”: “buttonShadow”,
“shadowLength”: [1, 1],
“shadowBlurRadius”: 15,
“css”: “{\”before\”:{\”content\”:\”\”,\”display\”:\”block\”,\”position\”:\”absolute\”,\”top\”:\”0px\”,\”left\”:\”0px\”,\”width\”:\”32px\”,\”height\”:\”100%\”,\”background-color\”:\”control\”}}”
I hope I’ve helped
Regards
Hi Jorge
A.- For more details about theme editor, you can get it in the online guide. Click on the yellow icon at right of version number
https://docs.wisej.com/theme-builder/
B.- For create your custom icons, I suggest that export all icons from one theme and edit it with and vector app, like inkscape
After create your icons, import them to the theme for replace that you want
You can use custom names, but be carefully in replace in other sections of the theme file were was used the prior name
C.- For setting margins of one icon, see the images adjunct
In Dev time you can’t set properties of the theme, just use the resources like icons, to assign them to a element, like a button or item menu
Regards and happy code
button’s icon’s on left
Hi,
Oh i see.
Tell me, how could i copy the whole menubar from one theme to another?
I was checking for options for this and didn’t found, maybe it’s there,
If you mean the gray box next to the menu item, it’s already in our Graphite-3 theme. See attached. The color can be changed easily with the ThemeBuilder.