Больше измнений
This commit is contained in:
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user