Comments (6)
Ok, now I got it, thanks!
I've just tested this kind of layout here and right now DockableContainer doesn't handle nodes coming from other containers.
Shouldn't be hard to pull off, but needs implementation and testing. I also don't know how it would respond to trying to add tabs in an empty container, it's possible we'd have to change how dropping tabs work for this case as well.
from godot-dockable-container.
All right, good to hear that ^^
I'll then merge the PR and submit a new version to the Asset Library!
from godot-dockable-container.
I don't know if I get what you want to do exactly. Can you elaborate the idea further? Maybe show a concrete example of where these containers would be and what you want to be moved or not.
I'm saying this because the DockableContainer already have the rearrange_group
property for supporting separate rearrange groups in the TabControllers. All groups in the container have the same rearrange group, but it can be different from other TabControllers / DockableContainers in your scene.
from godot-dockable-container.
These containers (color rects ) are part of different containers as you can see in the image. I want to drag a color rect from one container and drop it into another.
I want to keep a static (non movable + non-dockable window) in the middle unused area. This will be beneficial in creating more dynamic layouts .
from godot-dockable-container.
I've implemented this support in a separate branch and opened a PR for it. Feel free to open the branch in Godot and test out the functionality in the new test scene.
from godot-dockable-container.
I tested it and it works very well !!
from godot-dockable-container.
Related Issues (10)
- Dockable container is blocking mouse input to area nodes in a child viewport HOT 2
- Support for Docking into Separate Containers HOT 1
- Error occurs when exiting the scene HOT 3
- Container resizing Issues HOT 1
- Child Reposition Issue HOT 5
- "Dockable Container Layout" resource type is available in all "new resource" dropdown menus HOT 1
- Godot 4 support
- Dragging item in a Tree control that is nested in a dockable container tab causes dockable container to initaite it's own drag and drop. HOT 3
- Move to new Window HOT 21
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 godot-dockable-container.