private void ResetNodeTextSize(NodeView nView) { MapNode node = nView.Node; nView.RefreshText(); if (node == node.Tree.RootNode) { node.NodeView.RefreshPosition(node.NodeView.Left, node.NodeView.Top); } mapView.RefreshNodePositions(node.Parent != null ? node.Parent : node, NodePosition.Undefined); mapView.Canvas.Invalidate(); }
private void IncreaseNodeTextSize(NodeView nView, int width) { MapNode node = nView.Node; nView.RefreshText(new SizeF(width, nView.RecText.Height)); if (node == node.Tree.RootNode) { node.NodeView.RefreshPosition(node.NodeView.Left, node.NodeView.Top); } mapView.RefreshNodePositions(node.Parent != null ? node.Parent : node, NodePosition.Undefined); mapView.Canvas.Invalidate(); }
private void ResetNodeTextSize(NodeView nView) { MapNode node = nView.Node; nView.RefreshText(); if (node == node.Tree.RootNode) node.NodeView.RefreshPosition(node.NodeView.Left, node.NodeView.Top); mapView.RefreshNodePositions(node.Parent != null ? node.Parent : node, NodePosition.Undefined); mapView.Canvas.Invalidate(); }
private void IncreaseNodeTextSize(NodeView nView, int width) { MapNode node = nView.Node; nView.RefreshText(new SizeF(width, nView.RecText.Height)); if (node == node.Tree.RootNode) node.NodeView.RefreshPosition(node.NodeView.Left, node.NodeView.Top); mapView.RefreshNodePositions(node.Parent != null ? node.Parent : node, NodePosition.Undefined); mapView.Canvas.Invalidate(); }