cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Learn all about the Community Ranking System, a fun gamification element of the PTC Community. X

"aligning" a toolbar (with one button) "right" in the toolbar area

naglists
1-Newbie

"aligning" a toolbar (with one button) "right" in the toolbar area

I've got a toolbar with one button defined like this:

<toolbar id="mytoolbar" name="myname" x="2000" y="0">

in ...custom/dialogs/mytoolbar.xml

When the custom directory is parsed and files executed on the open of an XML
instance for that doctype, my button is displaying "aligned right" on the
very top row of the toolbar area. I want the toolbar to redisplay "aligned
right' if/when an author resizes or maximizes the Editor window.

Possible? How? I can't seem to find a command that will relocate that
toolbar, let alone starting to look for the hooks/callbacks.
dlgitem_hide/_show simply make it disappear and reappear, but in-place.

I must be thinking wrong ...

--
Paul Nagai
1 REPLY 1
BrianJ
3-Visitor
(To:naglists)

Paul,

I think you may have reached beyond the customization limits of
Arbortext on that one. Over the years I've tried off and on to do
similar things, but never any luck that I can remember.
Having said that, if I were to attempt it again, I would look at using
java, javascript, etc. to get a DOM doc representation of the xui for
your toolbar and change the x,y coordinate attributes that way. As for
what callback/hook/event to listen for, nothing is jumping off the pages
of the documentation at me.
If you figure this one out definitely let the rest of us know how you
did it.





Brian Jensen
bjensen@bluelid.com



Top Tags