如何为PowerApps中的组件画廊设置最大可用宽度?

发布于 2025-01-25 09:49:15 字数 602 浏览 5 评论 0原文

我创建了一个具有水平菜单的图库控制的组件库。我希望,当屏幕分辨率更改时,Horizo​​nal菜单会使用最大可用宽度。当我使用该组件时,除了菜单库的宽度外,所有内容都可以正常工作。如果我在同一屏幕(而不是组件库)中添加图库,则可以在相同的设置中工作正常。谁可以检查以下设置,如果我缺少任何东西,请帮助我吗?

1-组件库

A- Component
Height = App.Height
Width = App.Width

B- Gallery Control(Horizontal) of Component
Height = 200
Width = Parent.Width

2- app

A- Component Library
Height = 200
Width = Parent.Width

”在此处输入图像说明”

I have created a Component Library with Gallery Control for Horizontal Menu. I want that when screen resolution changed, the horizonal menu use the maximum available width. When I use that Component, everything is working fine except the width of the Menu Gallery. If I add gallery in same screen(rather component library), it is working fine with same settings. Can anyone please review following setting and help me if I am missing anything?

1- Component Library

A- Component
Height = App.Height
Width = App.Width

B- Gallery Control(Horizontal) of Component
Height = 200
Width = Parent.Width

2- App

A- Component Library
Height = 200
Width = Parent.Width

enter image description here

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。
列表为空,暂无数据
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文