This is a minimal application for illustration purposes.
Neither the banner above nor this space is part of mViewer.
All mViewer needs is the <div> on the right. The rest of
the window, whether laid out like this or some other way,
is under the control of your application.
For instance, this area might contain descriptive text and/or
controls. These may be connected to mViewer in the sense that you can
choose to notify mViewer of things that happen here and
ask it to update the plot but otherwise mViewer is not involved
in this part of the interface.
This also applies to resizing. Actions you take may affect
the mViewer <div> size or shape but if you want
mViewer to react, you have to call its resize() function
explicitly.
The button bar at the bottom of the mViewer <div> is part
this application, not mViewer. Details of what buttons appear
there are easily modified; the examples here are just some of the
more common image display functions like color table selection
and stretching.