I am having a problem where users report that eto content UI hosted in the material & texture panels is truncated in height. What should look like this (and does, for me):
Ends up on my user’s machines like this:
Problem is, I have not been able to reproduce this, neither in V6 or V7, nor on Windows or Mac. I built against Rhino from a few weeks ago, no problem there, updated to current RC, no problem, uninstalled and installed current SR, still no problem. Made sure to delete all settings for Rhino and RDK-related plugins, still no repro.
The panel, inherited from EtoCollapsibleSection, is used for all Bella nodes, with the relevant code looking like this:
public override int SectionHeight => _outerTable.Height;
public void AddFinalStretch()
{
_outerTable.Rows.Add(new Eto.Forms.Label());
}
public ContentUI(IContent renderContent)
{
RenderContent = renderContent;
Padding = new Eto.Drawing.Padding(0);
_currentExpander = new UI.Expander();
_expanders.Add(_currentExpander);
Content = _outerTable = new UI.TableLayout
{
Rows = { _currentExpander }
};
_outerTable.SuspendLayout();
Builder.ParseNode(renderContent.Prototype, Excludes, null, this);
AddFinalStretch();
_outerTable.ResumeLayout();
DataChanged += OnDataChanged;
}
Since I am unable to reproduce here, not sure what else I can tell you. I will say that even here, when I collapse one of my own headers implemented in eto, the hosting content UI section does not get the message and update, so it ends up like this:
This apparently never updates for the type of content in question, not when docking/undocking the materials panel, nor switching to some other type of material and back. So maybe that is related.
So the question would be, is there something I am missing, that can explain this working everywhere I try it, but failing elsewhere.