apex:pageBlockButtons 样式调整

修改前:

image

修改后

image

代码

<apex:pageBlockButtons location="bottom">

官网解释:

location String The area of the page block where the buttons should be rendered. Possible values include "top", "bottom", or "both". If not specified, this value defaults to "both".
应呈现按钮的页面块区域。可能的值包括“顶部”、“底部”或“两者”。如果未指定,则此值默认为“两者”。
Note: If a pageBlock header facet is defined, the facet overrides the buttons that would normally appear at the top of the page block. Likewise, if a pageBlock footer facet is defined, the facet overrides the buttons that would normally appear at the bottom of the page block.
注: 如果定义了页面块标题分面,则该分面将覆盖通常显示在页面块顶部的按钮。同样,如果定义了 pageBlock 页脚分面,则该分面将覆盖通常显示在页块底部的按钮。

posted @ 2023-07-10 10:31  ethon-wang  阅读(6)  评论(0编辑  收藏  举报