To solve the problem that users feedback that there are too few materials shown in the [Material Library] pop-up window. The size of the pop-up window is changed to:
· The width is 40% of the browser width
· The height fills the area below the top menu, with a distance of 8px from the bottom
When the user moves/adjusts the size of the pop-up window, remember the size and position adjusted by the user.
(1) The pop-up window of the material library is displayed on the left side of the property panel by default
(2) For the material library pop-up window called out by keyboard G/right-click - add functional component, the left side adheres to the left side of the browser.