File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -286,8 +286,8 @@ public MainForm(State state)
286286 PropertyGrid . CustomSetter = RecordSetter ;
287287 PropertyGrid . Settings . AssetManager = MyraEnvironment . DefaultAssetManager ;
288288
289- _topSplitPane . SetSplitterPosition ( 0 , state != null ? state . TopSplitterPosition1 : 0.25f ) ;
290- _topSplitPane . SetSplitterPosition ( 1 , state != null ? state . TopSplitterPosition2 : 0.75f ) ;
289+ _topSplitPane . SetSplitterPosition ( 0 , state != null ? state . TopSplitterPosition1 : 0.2f ) ;
290+ _topSplitPane . SetSplitterPosition ( 1 , state != null ? state . TopSplitterPosition2 : 0.6f ) ;
291291 _leftSplitPane . SetSplitterPosition ( 0 , state != null ? state . CenterSplitterPosition : 0.5f ) ;
292292
293293 UpdateMenuFile ( ) ;
@@ -1645,7 +1645,7 @@ private void BuildExplorerTreeRecursive(ITreeViewNode node, IItemWithId root)
16451645 newNode . Tag = root ;
16461646 newNode . IsExpanded = true ;
16471647
1648- var props = root . GetType ( ) . GetRuntimeProperties ( ) ;
1648+ var props = root . GetType ( ) . GetProperties ( BindingFlags . Public | BindingFlags . Instance ) ;
16491649 var contentProperty = ( from p in props where p . FindAttribute < ContentAttribute > ( ) != null select p ) . FirstOrDefault ( ) ;
16501650 if ( contentProperty == null )
16511651 {
You can’t perform that action at this time.
0 commit comments