Eto macOS - Eto.Forms.TabControl issue

problems 2

VS windows

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.

Hi @taraskydon,

Can you provide code to a working sample, that we can run here, that demonstrates the issue?

Thanks,

– Dale

ToolPanelTESTui.rhp (207 KB)
ToolPanel.zip (2.2 MB)