You need to sign in to do that
Don't have an account?
Marco Zeuli
Homepage Visualforce Component - Adjusting Width
i have the following problem:
I made an Homepage Visualforce component to show some info to my customers.
if I set the attribute showHeader="true" on the apex:page element in my VF page the result is the following:
As you can see the component width is different from the others... If i set the attribute showHeader="false" the problem doesn't occur anymore. But i don't want to do that because i want my component to have the Home tab style.
Any idea how to resolve this?
Thank you guys ;)
I made an Homepage Visualforce component to show some info to my customers.
<apex:page controller="UserApprovalProcessCtrl" showHeader="true" sidebar="true" > <apex:pageBlock html-width="100%"> my content </apex:pageBlock> </apex:page>The problem i'm facing is the following:
if I set the attribute showHeader="true" on the apex:page element in my VF page the result is the following:
As you can see the component width is different from the others... If i set the attribute showHeader="false" the problem doesn't occur anymore. But i don't want to do that because i want my component to have the Home tab style.
Any idea how to resolve this?
Thank you guys ;)
If you are using custom control components for home page, then you can set the width in Iframe, like below.
<iframe style="width:100%;height:150px;" src="/apex/testdialogpage" frameborder="0"></iframe>
P.S - Please mark this as solution by selecting it as best answer if this solves your problem.
Thanks