microsoft / FigmaSharp

Create apps with Figma
MIT License
430 stars 23 forks source link

NSPanel #189

Open vancura opened 4 years ago

vancura commented 4 years ago

The panel component generates a lot of boilerplate, as it tries to replicate everything what's in the Figma document. Instead, it should parse and render similarly to the NSWindow component.

Standard window:

image

Currently parsed panel:

image
hbons commented 4 years ago

I think this is because the panel component is not yet treated as a control.

hbons commented 4 years ago

We're not really using Panels right now, so this is low priority.

netonjm commented 4 years ago

@vancura, it happens because this control is not created yet, then it renders as a normal layer and sublayers. Which makes me think that there is no task assigned for the NSPanel?