You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Essentially I want to create a three column layout, and I want to add a new tab to the left, with a predetermined width (eg. 400px). As far I can see, I can't do this directly, so I have to use the setSize method of the panel API.
However the problem is that the setSize runs after dockview inserts the panel on the left with a huge width (half of the width of the main component), and when I resize the component on the left to have the desired width, the components on the right will get all the width gained by resizing the component on the left instead giving it to the main component, like when I resize using the mouse:
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hi!
First, thanks for this fantastic library!
I have a tab as a main view and have some tabs on the right of it:
Essentially I want to create a three column layout, and I want to add a new tab to the left, with a predetermined width (eg. 400px). As far I can see, I can't do this directly, so I have to use the
setSize
method of the panel API.However the problem is that the
setSize
runs after dockview inserts the panel on the left with a huge width (half of the width of the main component), and when I resize the component on the left to have the desired width, the components on the right will get all the width gained by resizing the component on the left instead giving it to the main component, like when I resize using the mouse:I've tried to add the panel to the left first, but it does not work either. In this case the left tab will be huge.
Beta Was this translation helpful? Give feedback.
All reactions