updated the documentation and fixed sizing issues with plugins

This commit is contained in:
paul
2024-09-30 09:14:16 +05:30
parent 4fe223dbf8
commit ebfaf78fcf
7 changed files with 55 additions and 7 deletions

View File

@@ -645,8 +645,8 @@ class Widget extends React.Component {
*/
setWidgetSize(width, height) {
const fitWidth = this.state.fitContent.width || true
const fitHeight = this.state.fitContent.height || true
const fitWidth = this.state.fitContent?.width
const fitHeight = this.state.fitContent?.height
if (fitWidth && fitHeight){
message.warning("both width and height are set to fit-content, unset it to start resizing")