Hi,
is there a way to get the plugin screen width? thanks
Hi,
is there a way to get the plugin screen width? thanks
Do you mean the panel width or the actual screen width? You can measure panel width on resize
event; but screen width is not something that’s available to plugins currently.
i meant the whole screen width. thanks for the info
If you need width of RootNode
(parent of the arboards) it’s 50000px.
If you need viewport
's width see this viewport · Adobe XD Plugin Reference, you can get it with viewport.bounds.width
.