ADF 组件 - 调整大小问题

发布于 2024-12-23 21:57:27 字数 243 浏览 9 评论 0原文

我们在 Oracle JDeveloper 11g Release1 的 [ADF] 中创建了一个应用程序。

我们面临着调整大小的问题。

当我们调整应用程序的大小时......大多数组件都会被削减。它们不会根据屏幕分辨率调整大小。

请提供合适的输入。

它仅在 1364 x 768 上工作正常。:( 但在低于这些分辨率的情况下,组件根据屏幕分辨率不灵活。

在这种情况下,请给我们发送一个指针。

We have created an application in [ADF] in Oracle JDeveloper 11g Release1.

We are facing a resizing issue.

When we re-size our application.. most of the components are getting cut. They are not resizing as per the screen resolution.

Kindly provide suitable inputs.

it is only working fine on 1364 x 768. :( but on resolutions lesser than these, the components are not flexible as per the screen resolution.

kindly send us a pointer in this case.

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

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

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

强者自强 2024-12-30 21:57:27

好吧,获得正确的调整大小行为并不困难。在 ADF 中,每个组件都有两个方面:

  1. 是否可以通过其父组件调整大小:因此,即使您放置了一个可以调整大小的组件,但如果父组件不可调整大小,您也将无法这样做,例如,您不应该期望它发生在任何组件上子组件(如果父组件是垂直类型的 panelGroupLayout)
  2. 如果可调整大小:许多组件在 adf 中根本无法调整大小,因此无论您如何使用它们,它们都不会调整大小。

看看http://jdevadf.oracle.com/adf-richclient-demo/faces/feature/layoutBasics.jspx;jsessionid=pGxPT2BY4GfrvvW WpTvx3QNTn1F3GTQxFlVwBYSF1WG3wLwBS2vp!-1053881112?_afrLoop=89920899359956&_afrWindowMode=0&Adf-Window-Id=w0

Well, it's little tricky to get the right resize behavior. In ADF every component has two aspects:

  1. If it can be resized by it's parent: So if you even put a component which can be resized still you wont be able to if the parent is not resizable for example you should not expect it happening for any child component if the parent is a panelGroupLayout of type vertical
  2. If it is resizable: Many components are not resizable at all in adf so no matter how you use them they wont.

Have a look at http://jdevadf.oracle.com/adf-richclient-demo/faces/feature/layoutBasics.jspx;jsessionid=pGxPT2BY4GfrvvWWpTvx3QNTn1F3GTQxFlVwBYSF1WG3wLwBS2vp!-1053881112?_afrLoop=89920899359956&_afrWindowMode=0&Adf-Window-Id=w0

-小熊_ 2024-12-30 21:57:27

对于图像,您还可以尝试在 ADF 中使用 HTML 标签:

For an Image you can also try using HTML tags in ADF:

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文