problems 2
mac os has a lot of problems. Eto.Forms.TabControl
TabControl tabview = new TabControl { ID = Guid.NewGuid().ToString() };
for (int i=0; i<tabs.Count; i++)
{
TabPage tp = new TabPage() { Image = new Bitmap(tabs[i]), Size = ize, BackgroundColor = col };
try
{
if (ctrls[i].Value is Control ctrl)
{
DynamicLayout layout = new DynamicLayout();
layout.BackgroundColor = col;
layout.AddAutoSized(ctrl);
tp.Content = layout;
// tp.TabIndex = (int)index;
}
}
catch (Exception ex)
{
AddRuntimeMessage(GH_RuntimeMessageLevel.Error, ex.Message);
}
tabview.Pages.Add(tp);
tabview.SelectedIndex = (int)index;
}
It is impossible to switch between tabs. the size (there’s a problem understanding the size.) of pictures does not correspond to the specified dimensions. you can’t interact with the connected data Control.