diff --git a/DarkUI/Docking/DarkDockPanel.cs b/DarkUI/Docking/DarkDockPanel.cs index 650f6c4..6cc0513 100644 --- a/DarkUI/Docking/DarkDockPanel.cs +++ b/DarkUI/Docking/DarkDockPanel.cs @@ -3,6 +3,7 @@ using DarkUI.Win32; using System; using System.Collections.Generic; using System.ComponentModel; +using System.Linq; using System.Windows.Forms; namespace DarkUI.Docking @@ -208,7 +209,8 @@ namespace DarkUI.Docking var _groupStates = new Dictionary(); - foreach (var content in _contents) + var orderedContent = _contents.OrderBy(c => c.Order); + foreach (var content in orderedContent) { foreach (var region in state.Regions) { diff --git a/todo.txt b/todo.txt new file mode 100644 index 0000000..62d9e15 --- /dev/null +++ b/todo.txt @@ -0,0 +1,22 @@ +DarkUI +-- Add textbox control +-- Add dropdown control +-- Allow dropdown to show arbitrary control types +-- Add dropdown treeview control +-- Add tooltip control +-- Add split panel control (and serialised version) +-- Add filter/search control +-- Add tabbed panel control +-- Fix DarkButton image align bullshit +-- Fix checkbox and radiobutton CheckAlign support +-- If you collapse a node when a child has focus, focus the parent node +-- arrow keys to scroll around the scrollbase control -- space to pan? +-- standardise the amount you scroll through with the mousewheel. Basing it on the pixels makes it weird. +-- ScrollView not taking in to account size WITHOUT scrollbars causing you to have to overshoot when re-sizing to get rid of them +-- if the final node in a treeview has been previous expanded, pressing 'down' will cause it to re-open + +Dock panel +-- drag tabs and toolwindows to re-order or change region +-- add splitters between region groups +-- fix max position of splitters +-- serialise the visible content for groups and the active content \ No newline at end of file