是否可省略左侧插槽 #3502
Answered
by
erha19
chaoyue1217
asked this question in
Q&A
是否可省略左侧插槽
#3502
-
Beta Was this translation helpful? Give feedback.
Answered by
erha19
Apr 9, 2024
Replies: 1 comment
-
@chaoyue1217 左侧面板你可以通过限定 Layout 的宽度来限制其展示,但是逻辑控制上需要做的自定义操作就比较多了,比较建议直接舍弃左侧面板,基于中间区域去创建自定义视图。 以 ide-startup 示例为例,上面这种方式可以参考修改这里的代码: https://github.com/opensumi/ide-startup/blob/main/src/browser/render-app.ts#L30C26-L30C50 |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
chaoyue1217
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
@chaoyue1217 左侧面板你可以通过限定 Layout 的宽度来限制其展示,但是逻辑控制上需要做的自定义操作就比较多了,比较建议直接舍弃左侧面板,基于中间区域去创建自定义视图。
以 ide-startup 示例为例,上面这种方式可以参考修改这里的代码:
https://github.com/opensumi/ide-startup/blob/main/src/browser/render-app.ts#L30C26-L30C50