Custom theme tweaks & questions

 From:  Michael Gibson
11613.2 In reply to 11613.1 
Hi aphaits,

For the first 3:

> 1. Is there a way to change the style / color / icon of the window top part?

That part is drawn by the operating system, there isn't anything set up in MoI to customize it.


> 2. Is there a way to change the style / color / icon of the horizontal & vertical scroll bars?

Most of the scroll bar pieces will use the PushButton colors. But there are a couple of scrollbar areas that don't have a theme symbol set up for them, they can be adjusted in the theme's moi.css . If your theme was based off the regular dark theme, there should be scroll bar stuff in your theme's moi.css , look for:

::-webkit-scrollbar-corner {
background-color:#444;
}

::-webkit-scrollbar-track-piece {
background-color:#777;
}


> 3. Which does the progress bar color affects the GUI? Can’t seem to find it.

It's shown in the upper right area of the window when loading in a large file.

Try this - type Tab so that keyboard focus goes into the XYZ control in the bottom toolbar and then paste in this:

script: moi.ui.sidePane.document.body.insertAdjacentHTML( 'afterBegin', '<moi:ProgressBar id="progress_test">'); moi.ui.findElement( 'progress_test' ).value = 25;

That will insert a progress bar element at the top of the side pane so you can see it.

Other answers to follow in a bit...

- Michael