Content now serialised in correct order.

This commit is contained in:
Robin 2016-01-01 00:39:31 +00:00
parent 421ae32072
commit b1eef2985c
2 changed files with 25 additions and 1 deletions

View File

@ -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<DarkDockGroup, DockGroupState>();
foreach (var content in _contents)
var orderedContent = _contents.OrderBy(c => c.Order);
foreach (var content in orderedContent)
{
foreach (var region in state.Regions)
{

22
todo.txt Normal file
View File

@ -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