Giter Club home page Giter Club logo

Comments (13)

ButchersBoy avatar ButchersBoy commented on July 21, 2024

OK...the MDI support is a bit unpolished...so any issues you find just keep logging them and I will get to them.

from dragablz.

QuantumDeveloper avatar QuantumDeveloper commented on July 21, 2024

Or it will be even better to limit MDI window with te bounds of the Content control inside tab that it could not overlap tabs.

from dragablz.

ButchersBoy avatar ButchersBoy commented on July 21, 2024

I dont want to limit the window to a tab...If you use layouts and split windows then they can start getting small...and things get really complex to manage. It's a design decision to have the windows at Layout (Window) level.

Having said that...you could cheat the system and create 2 Layout controls yourself. But that be at your own risk :)

from dragablz.

QuantumDeveloper avatar QuantumDeveloper commented on July 21, 2024

OK, you know that stuff better than me...

from dragablz.

QuantumDeveloper avatar QuantumDeveloper commented on July 21, 2024

@ButchersBoy returning to our previous conversation...
I think you understand me incorrect. I dont want you to limit MDI to a tab, but limit its positioning that it could not overlap tab headers, because if it happens, it make inconveniece to the iser, as he must move mdi window first to have possibility to do something with the tab.
One thing I am not sure is that if you make it shared between different tab groups, you will not able to prevent thins...

from dragablz.

ButchersBoy avatar ButchersBoy commented on July 21, 2024

Yeah...preventing it in the same "Partition" is almost impossible. But if you wanted to use a Layout just for hosting tool windows, you could just layer it over a tab control....something like this:

<Grid>
  <TabablzControl />
  <Layout Margin="0 20 0 0 Partition="ToolWindowsOnly" />
</Grid>

(And you could nest all that in a different Layout to allow tab splitting)

from dragablz.

QuantumDeveloper avatar QuantumDeveloper commented on July 21, 2024

Unfortunately it is not always possible, because personally in my case I am using windows form to output DirectX rendering and I will have airspace issues (until MS hopefully will upgrade WPF to DX 12 and give us immediate mode rendering control like SwapChainPanel in universal apps). So, my option is to use side panels something like in VS now. Hopefully you will implement them. For me personally this will be cool feature due to my limitations.

from dragablz.

ButchersBoy avatar ButchersBoy commented on July 21, 2024

Remind me which Dragablz theme you are using? I think we are almost there. I havent actually tried this, but:

<Layout>
  <Branch>
    <TabablzControl />
  </Branch>
  <Branch>
    <TabablzControl />
  </Branch>
<Layout>

The second tab would have to have it's tab panels on the right. I started some of this work in the MaterialDesign theme but not the other themes.

Also, the vertical dragging (as opposed to horizontal) might need a bit of touching up.

And finally, need a way of keeping the branch open if you tear out the last tab.

from dragablz.

ButchersBoy avatar ButchersBoy commented on July 21, 2024

And yeah, it's annoying all the Win2D composition stuff they are doing in UWP...they should bring that to WPF...

from dragablz.

ButchersBoy avatar ButchersBoy commented on July 21, 2024

...and man I need more time in my life...if I can do everything I'd like to do to Dragablz, it allows for real powerful Windows apps...

from dragablz.

QuantumDeveloper avatar QuantumDeveloper commented on July 21, 2024

They talk that will update WPF to DX 12, but I dont know when they will pull out finger from their asses and just upgrade at least their renderer. Already a year almost passed from the first time I`ve heared that.

Regarding free time... I am not hurry you up. But your dragablz is quite perspective dockable control for WPF on the whole internet. I think it will the best when you implement all features. And I will wait for it)

from dragablz.

QuantumDeveloper avatar QuantumDeveloper commented on July 21, 2024

By the way. Thanks for your great work!

from dragablz.

ButchersBoy avatar ButchersBoy commented on July 21, 2024

😄

from dragablz.

Related Issues (20)

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.