Comments (4)
For this, I believe the solution would be to add a custom property value when you construct an instance of wcDocker that will allow you to override the threshold of what I call docking anchors.
var myDocker = new wcDocker('#container', {
anchorThreshold: '60px'
});
// or possibly something like this would be nice as well:
var myDocker = new wcDocker('#container', {
anchorThreshold: '10%'
});
Will this work for you?
from wcdocker.
I have implemented this feature, the wcDocker options are edgeAnchorSize
and panelAnchorSize
var myDocker = new wcDocker('#container', {
edgeAnchorSize: 50,
panelAnchorSize: '15%'
}
Please let me know if this solves your issue.
Edit: I've also changed the default panelAnchorSize from 25% like it was before, to 15%.
from wcdocker.
Jeff,
I tested it and it feels much better now!
Thanks for the quick response,
Bulent
from wcdocker.
I am going to close this issue as complete.
If you come across any problems related to this new feature, please re-open this issue.
from wcdocker.
Related Issues (20)
- does wcDocker have a destroy-function? HOT 8
- Can wcDocker "just" restore the positions/dims of panels without re-instantiation? HOT 5
- Using 'Panel Creation Elements' breaks creation of panels via context menu
- Docker panel resize HOT 1
- Docker is in infinite loop HOT 2
- Cannot move the stacked Iframe panel into the browser tab. HOT 1
- mobile device events
- Embedded wcDocker instance or otherwise constraining panels to one layout HOT 3
- Can I use wcDocker with angular2? HOT 2
- Provide dynamic options via addPanel HOT 3
- Improved forked version available - bug fixes and performance
- PopOut Browser
- restoring a layout refreshes iframes HOT 1
- Scroll position resets after resize panel HOT 1
- Using moveable(false) causes Browser window hang HOT 5
- wcDocker Frame do not load URL when we use jQuery v.3.3.1
- Any light Theme?
- How do I prevent a panel from resizing?
- Is it possible to localize the context menu?
- Localization
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from wcdocker.