Git Product home page Git Product logo

Comments (6)

gilzoide avatar gilzoide commented on June 12, 2024 1

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.

gilzoide avatar gilzoide commented on June 12, 2024 1

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.

gilzoide avatar gilzoide commented on June 12, 2024

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.

mystchonky avatar mystchonky commented on June 12, 2024

I have a setup like this.
image
image

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.

gilzoide avatar gilzoide commented on June 12, 2024

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.

mystchonky avatar mystchonky commented on June 12, 2024

I tested it and it works very well !!

from godot-dockable-container.

Related Issues (10)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.