got stucked into CSS...
on
[http://codepen.io/n00n/pen/RoqWJy][1]
you will see an example what I would like to to.
But would like to have a margin cuttin the card at bottom like it is on top where the scroll bar still gets till the red bar.... But cannot get it fixed.
Anybody who has any hint?
cu s00n
de n00n
After a while I come to the conclusion that it is impossible. Will find another way to solve it
Related
I'm trying to add scrollbars to mxGraph. I initially followed the extendCanvas example. but that didn't quite work. after following it I couldn't add shapes to the canvas even after removing graph.panningHandler.ignoreCell = true;
I tried to workaround it myself by giving the graph and container a big height and setting a fixed width and height for the graphContainer div. I then added the graphContainer div inside another div with styles like overflow. I created a codesandbox. I figured that would be easy for most to follow, so please check it out.
Now what I have implemented seems to be working fine. But there is one issue when you add shapes to the canvas initially and drag them down. It works perfectly, but when you scroll down and try to add a shape, it would insert way down below the scroll position.
I have tried to follow the examples on the mxGraph documentation, but they didn't quite work. I have also looked at existing SO questions, but none of them seem to answer my question. What I'm expecting is that when I scroll down and try to add a shape, It should add it to the cursor position, not way down below.
Please see the codesandbox link for more clarity: https://codesandbox.io/s/gifted-dhawan-6lschs
P.S. This is my first post to Stackoverflow. Let me know if I messed something up.
I think the title explains it pretty clearly. I have a PKCanvasView which is partially zoomed in, and when I select a part of the drawing with the lasso tool and then move it around with my pencil, the whole view starts shifting around following my pencil.
Tried setting isScrollEnabled to false but no dice.
I have following problem. Whenever i click on ComboBox the vertical scroll goes to the top of the window. This only happens if the subwindow is too big to fit in browser window. I'm trying to find solution for this over last four days with no result. Please someone help! :)
If anyone can look here is the video which better describes my problem:
http://www.youtube.com/watch?v=x2gfY_D9H8Y
The solution is to set height of a window:
window.setHeight("someHeight")
and it will work.
With CSS you can target Screen and Print. How would you do this with WPF?
I have elements that I want to display on screen differently than when they are printed.
Right now I'm hacking two instances of the same element, and setting visibility in code, which just feels really really wrong.
Thank you!
In that case, check here, here and here.
Problem site: www.basing.com/problem/index.html
If you hover over the items in the list on the left you should see a nice popup showing the remaining characters of the text.
However, this doesn't work in IE 7. Does anyone have any ideas why not, or suggestions on how I could go about fixing this? Thanks.
There is a known bug about z-index on IE <= 7, when you use z-index when you mix absolute and relative positionned DOM elements you have to invert the z-index properties so that the lower will appear on top of the higher.
See http://brenelz.com/blog/squish-the-internet-explorer-z-index-bug or http://www.shawnpreisz.com/css/z-index-internet-explorer-7-ie7 for another solution.
There is about a million post about this bug on the internet.