hoist-react icon indicating copy to clipboard operation
hoist-react copied to clipboard

Support percent values in panelModel defaultSize

Open cnrudd opened this issue 4 years ago • 2 comments

The defaultSize property on PanelModel only accepts pixels. It might be more developer friendly if it accepted percent values, where the percent was a percentage of the Panel's parent element.

See: https://github.com/xh/hoist-react/blob/develop/desktop/cmp/panel/PanelModel.js#L69

cnrudd avatar Apr 28 '20 19:04 cnrudd