Больше измнений

This commit is contained in:
2025-05-05 10:30:29 +04:00
parent 197a9862b3
commit 119a4a893a
9 changed files with 675 additions and 113 deletions
@@ -76,7 +76,7 @@ internal sealed partial class EntityTreeViewerRow : UserControl
set => ParentControl.ItemHeight = value;
}
// Value functions
// ValueText functions
public bool HasButton => Item.FieldType == StructureFieldType.Complex;
public int Depth => Item.Depth;
@@ -122,7 +122,7 @@ internal sealed partial class EntityTreeViewerRow : UserControl
Left = 0;
Top = ViewIndex * ParentControl.ItemHeight;
Width = ParentControl.ContentPanel.Width - Left - SystemInformation.VerticalScrollBarWidth;
Width = ParentControl.ContentWidth - Left - SystemInformation.VerticalScrollBarWidth;
Height = ParentControl.ItemHeight;
// Name Panel
@@ -135,7 +135,7 @@ internal sealed partial class EntityTreeViewerRow : UserControl
NameLabel.Left = IconPictureBox.Width;
NameLabel.Width = NamePanel.Width - NameLabel.Left;
// Value Panel
// ValueText Panel
ValuePanel.Left = NamePanel.Left + NamePanel.Width;
ValuePanel.Width = Width - ValuePanel.Left;