how make scrollbar works in mxgraph - mxgraph

When I drag A towards right and down ,I can view the whole graph by right and bottom scroll bar as follows:
enter image description here
enter image description here
But when I drag B towards left and upper , I can't view the whole graph even the scroll bar disappear as follows :
enter image description here
I have set the 'overflow:auto' style in the graph container. So , I can't fix this case and need some help.

Related

How can I make a sticky/fixed side nav like this one in the attached pic?

In the pic I have attached, when I click on any item in the left side nav menu, the page in the right loads but the menu remains fixed and does not load.
How can I make a menu like this?
Can I do it using div? or Do I need to use
enter image description here

How do you reposition an expandable banner in html?

I'm using google web designer and I need to make an expanded panel expand from the centre out. At the moment the choices I have are only top, bottom, left right.
I also need to make the background of the expanded panel transparent. (it's currently white by default.)
Any help would be appreciated!
Thanks.
You can not expand your banner center out.
The only option you have is Top, Bottom, Left & Right. So don't waste your time on that.
For transparent background, you can style your main div as background-color:transparent,
But, the publisher may put your html5 div on another div with some background color (Yes, usually the publisher want to distinguish the banner from the website content)
But that part is negotiable, if the publisher approved transparency, you can test your banner on DoubleClick Studio by going:
creative-> Preview tab -> select 'Show Details' button -> On the left hand side choose 'Display Option' -> at the buttom of the opened dialog, you will see a checkbox named: 'Transparen', check that.
But remember it is a test when the Media Agency publishes you banner to the Publisher UI they can remove the transparency, so first get approval for that.

Libgdx scene2d window title size

After setting up a scene2d window and setting a title, id like to be able to adjust the height of the title bar.
If thats not possible is there a way of finding the current height of the bar? as this would make placing tables and other actors within it a lot easier?
You can change the height of the back of the title bar by modifying the 9 patch graphic used for the background of the window. It's just the top of the window image.
The title available via window.getTitleLabel() is the text label placed on top of the top of the underlying window graphic.
You actor will always be added bellow the title bar, you can adjust using padTop().
To change the title bar size you can change the font of the title size.
I never found a better way to manage this.
you can get the title label through window.getTitleLabel(), then modify it.

Fixed image mask reveal image underneath on scroll

there is probably a super simple solution to this...
I'm trying to create a portfolio page and I want to show a screenshot of a mobile site in context.
So for example, I have a tall screenshot image of the full page and I want to have it masked by an image of a mobile phone where it will only show up on the screen area. As you scroll, I want the phone to have fixed positioning and reveal the screenshot underneath in its "viewport".
Here's a diagram of what I mean:
Any thoughts?

how to scroll a part of html body as vertical

I am using this type of design in my html and now i want that blue part as a scroll_view vertically in dojo. If I do this for blue div , it is not working for me the whole part is scrolling vertically. I want all part constant with blue as scroll view. How to do that in dojo.
you can use dojo scrollable pane in side a view. check out the below link
http://livedocs.dojotoolkit.org/dojox/layout/ScrollPane
if you still do not get it ping me back.