Minor layout changes
This commit is contained in:
@@ -78,7 +78,6 @@ public abstract class DeferrableLayoutListNode : SimpleComponentNode
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
[Obsolete]
|
|
||||||
protected virtual void AdjustNode(NodeBase node) { }
|
protected virtual void AdjustNode(NodeBase node) { }
|
||||||
|
|
||||||
protected abstract void InternalRecalculateLayout();
|
protected abstract void InternalRecalculateLayout();
|
||||||
|
|||||||
@@ -30,9 +30,9 @@ public sealed class WrappingGridNode<T> : DeferrableLayoutListNode where T : Nod
|
|||||||
private float _lastVSpace = float.NaN;
|
private float _lastVSpace = float.NaN;
|
||||||
private float _lastTopPadding = float.NaN;
|
private float _lastTopPadding = float.NaN;
|
||||||
private float _lastBottomPadding = float.NaN;
|
private float _lastBottomPadding = float.NaN;
|
||||||
private bool _lastuseCompactPacking;
|
private bool _lastUseCompactPacking;
|
||||||
private bool _lastpreferLargestFit;
|
private bool _lastPreferLargestFit;
|
||||||
private bool _lastuseStableInsert;
|
private bool _lastUseStableInsert;
|
||||||
private int _lastCompactLookahead;
|
private int _lastCompactLookahead;
|
||||||
|
|
||||||
private int[] _orderScratch = Array.Empty<int>();
|
private int[] _orderScratch = Array.Empty<int>();
|
||||||
@@ -977,9 +977,9 @@ public sealed class WrappingGridNode<T> : DeferrableLayoutListNode where T : Nod
|
|||||||
NearlyEqual(_lastVSpace, VerticalSpacing) &&
|
NearlyEqual(_lastVSpace, VerticalSpacing) &&
|
||||||
NearlyEqual(_lastTopPadding, TopPadding) &&
|
NearlyEqual(_lastTopPadding, TopPadding) &&
|
||||||
NearlyEqual(_lastBottomPadding, BottomPadding) &&
|
NearlyEqual(_lastBottomPadding, BottomPadding) &&
|
||||||
_lastuseCompactPacking == System.Config.General.CompactPackingEnabled &&
|
_lastUseCompactPacking == System.Config.General.CompactPackingEnabled &&
|
||||||
_lastpreferLargestFit == System.Config.General.CompactPreferLargestFit &&
|
_lastPreferLargestFit == System.Config.General.CompactPreferLargestFit &&
|
||||||
_lastuseStableInsert == System.Config.General.CompactStableInsert &&
|
_lastUseStableInsert == System.Config.General.CompactStableInsert &&
|
||||||
_lastCompactLookahead == System.Config.General.CompactLookahead;
|
_lastCompactLookahead == System.Config.General.CompactLookahead;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -992,9 +992,9 @@ public sealed class WrappingGridNode<T> : DeferrableLayoutListNode where T : Nod
|
|||||||
_lastTopPadding = TopPadding;
|
_lastTopPadding = TopPadding;
|
||||||
_lastBottomPadding = BottomPadding;
|
_lastBottomPadding = BottomPadding;
|
||||||
|
|
||||||
_lastuseCompactPacking = System.Config.General.CompactPackingEnabled;
|
_lastUseCompactPacking = System.Config.General.CompactPackingEnabled;
|
||||||
_lastpreferLargestFit = System.Config.General.CompactPreferLargestFit;
|
_lastPreferLargestFit = System.Config.General.CompactPreferLargestFit;
|
||||||
_lastuseStableInsert = System.Config.General.CompactStableInsert;
|
_lastUseStableInsert = System.Config.General.CompactStableInsert;
|
||||||
_lastCompactLookahead = System.Config.General.CompactLookahead;
|
_lastCompactLookahead = System.Config.General.CompactLookahead;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user