HarmonyOS CustomDialog怎么设置弹窗背板和左右的margin?

无法设置弹框与左右的margin。

HarmonyOS
2024-10-14 09:50:28
浏览
收藏 0
回答 1
待解决
回答 1
按赞同
/
按时间
superinsect

可以将customStyle设置为true,即弹窗的样式完全由开发者自定义。可以参考:https://developer.huawei.com/consumer/cn/doc/harmonyos-guides-V5/typical-layout-scenario-V5#%E8%87%AA%E5%AE%9A%E4%B9%89%E5%BC%B9%E7%AA%97

分享
微博
QQ
微信
回复
2024-10-14 16:51:17
相关问题
HarmonyOS 宽度100% margin左右不生效
318浏览 • 1回复 待解决
HarmonyOS CustomDialog怎么设置圆角
308浏览 • 1回复 待解决
HarmonyOS 设置margin无效
67浏览 • 1回复 待解决
HarmonyOS 自定义弹窗CustomDialog
226浏览 • 1回复 待解决