Focal Point Banner


As of December 1, 2020, Focal Point is retired and repurposed as a reference repository. We value the wealth of knowledge that's been shared here over the years. You'll continue to have access to this treasure trove of knowledge, for search purposes only.

Join the TIBCO Community
TIBCO Community is a collaborative space for users to share knowledge and support one another in making the best use of TIBCO products and services. There are several TIBCO WebFOCUS resources in the community.

  • From the Home page, select Predict: WebFOCUS to view articles, questions, and trending articles.
  • Select Products from the top navigation bar, scroll, and then select the TIBCO WebFOCUS product page to view product overview, articles, and discussions.
  • Request access to the private WebFOCUS User Group (login required) to network with fellow members.

Former myibi community members should have received an email on 8/3/22 to activate their user accounts to join the community. Check your Spam folder for the email. Please get in touch with us at community@tibco.com for further assistance. Reference the community FAQ to learn more about the community.


Focal Point    Focal Point Forums  Hop To Forum Categories  Performance Management Framework (PMF)    Preferences subwindow location

Read-Only Read-Only Topic
Go
Search
Notify
Tools
Preferences subwindow location
 Login/Join
 
Silver Member
posted
I have created several gadgets using Analysis Designer. I love this ability to create customized gadgets.

However, some of the gadgets that I have created are very wide. If you click on the preferences button (,which is the check mark on top right of the gadget,) the preferences subwindow will appear off screen since it is left justified.

As a result you have to scroll back over to the left to see the preferences box.

Is there anyway to right justify the preferences box in Analysis Designer gadgets?

Thanks in advance.


-Seth


WF 7.65. Solaris. PMF 5.11 on Oracle 10g
 
Posts: 48 | Location: New York | Registered: March 25, 2009Report This Post
Master
posted Hide Post
By the default the preferences panel appears to the right, as long as there's room for it.
The logic checks the size of the gadget and if there isn't room there, it instead positions itself as follows:
If the gadget doesn't leave enough room at the right, it's positioned to the left.
If there isn't room to the right or the left, it positions itself over the top at the left corner.

You can also move the panel by clicking and dragging it in the light blue section at the top.

Hope this helps.


Bob Jude Ferrante
Director of Business and Development
WebFOCUS Performance Management
Bob_Ferrante@ibi.com
917-339-5105

I'll take any questions about PMF - business or technical - anytime!

 
Posts: 919 | Registered: March 26, 2003Report This Post
Silver Member
posted Hide Post
Thanks Bob,

Is there a way to hack the code so the preferences panel always appears on the top right?

-Seth


WF 7.65. Solaris. PMF 5.11 on Oracle 10g
 
Posts: 48 | Location: New York | Registered: March 25, 2009Report This Post
Master
posted Hide Post
The code is in gadget_page_shell_form.htm. Around Line 1117 (depending on your release).

//set correct position of preferences form - to the right or the left of the block.
var dpfstyobj = document.getElementById('div_preferences_form').style;
var gadg_l = parseInt(gadg_iframe.style.left);
var gadg_w = parseInt(gadg_iframe.style.width);
var pref_w = parseInt(dpfstyobj.width);
var twidth = gadg_l + gadg_w + pref_w;

//alert ("gadg_l:" + gadg_l + "; gadg_w:" + gadg_w + "; pref_w:" + pref_w + "; total:" + twidth + "; clientWidth:" + document.body.clientWidth);

if (twidth <= document.body.clientWidth)
{
dpfstyobj.left = gadg_l + gadg_w + 3;
}
else
{
if ((gadg_l - pref_w) > 0)
{
dpfstyobj.left = gadg_l - pref_w;
}
else
{
dpfstyobj.left = gadg_l;
}
}


Bob Jude Ferrante
Director of Business and Development
WebFOCUS Performance Management
Bob_Ferrante@ibi.com
917-339-5105

I'll take any questions about PMF - business or technical - anytime!

 
Posts: 919 | Registered: March 26, 2003Report This Post
  Powered by Social Strata  

Read-Only Read-Only Topic

Focal Point    Focal Point Forums  Hop To Forum Categories  Performance Management Framework (PMF)    Preferences subwindow location

Copyright © 1996-2020 Information Builders