如何在ADF的面板拉伸布局中拉伸内联框架的尺寸?[英] How to stretch inline frame size in panel stretch layout in ADF?

本文是小编为大家收集整理的关于如何在ADF的面板拉伸布局中拉伸内联框架的尺寸?的处理/解决方法,可以参考本文帮助大家快速定位并解决问题,中文翻译不准确的可切换到English标签页查看源文。

问题描述

i有.jsff页面,其中包含命令按钮和内联帧.我想做的是,我想在同一位置保持命令按钮保持静态,并且只有在滚动页面时才能移动.

目前我要做的是设置一些面板stretch layout(StyleClass:AFStetchWidth).我将命令按钮放在顶部.中央滚动面板组的内联框架.

这是我的结构:

af:panelstetchlayout(styleclass:afstretchwidth)
>

面板伸展布局

  bottom
  center
     af:panelGroupLayout-scroll
          af:inlineFrame     (StyleClass:AFStretchWidth)
  end
  start
  top
    af:panelGroupLayout-horizontal
         af:commandButton-back

运行此页面时:命令按钮在顶部保持静态.这是正确的,但是内联框架的大小很小.有没有办法使内联框架拉伸?

推荐答案

在AF上设置(styleclass:afstretchwidth):panelgrouplayout-scroll.

其他推荐答案

您是否尝试放置此属性:

sizizing =" preferred"

我已经使用了它,并且在面板拉伸布局中运行良好.

其他推荐答案

我将其解决如下:

    <af:panelGroupLayout id="pgl1" halign="center">
    <af:inlineFrame id="if1" source="/index.html" styleClass="AFStretchWidth" inlineStyle="height:100%;"/>
</af:panelGroupLayout>

本文地址:https://www.itbaoku.cn/post/2091171.html

问题描述

I have .jsff page that contain command button and inline frame. What I want to do is, I want to make command button remain static at the same place and only inline frame can move when scroll the page.

Currently what I do is I set some panel stretch layout(StyleClass:AFStetchWidth). I put the command button at the top. Inline frame in scroll panel group at the center.

Here is my structure:

af:panelStetchLayout(StyleClass:AFStretchWidth)
>

Panel Stretch Layout facets

  bottom
  center
     af:panelGroupLayout-scroll
          af:inlineFrame     (StyleClass:AFStretchWidth)
  end
  start
  top
    af:panelGroupLayout-horizontal
         af:commandButton-back

When I run this page: command button remain static at the top. This is correct, but the size of the inline frame is small. Is there a way to make an inline frame to be stretch?

推荐答案

set the (StyleClass:AFStretchWidth) on the af:panelGroupLayout-scroll.

其他推荐答案

Did you try putting this attribute :

sizing="preferred"

I have used it and it works pretty well inside panel stretch layout.

其他推荐答案

just i solve it as following:

    <af:panelGroupLayout id="pgl1" halign="center">
    <af:inlineFrame id="if1" source="/index.html" styleClass="AFStretchWidth" inlineStyle="height:100%;"/>
</af:panelGroupLayout>