[OpenMap Users] Having trouble splitting toolbar into two rows

From: Klaus, Erich P. <klaus-erich_at_zai.com>
Date: Fri, 3 Feb 2006 10:45:19 -0500

Hello,
 
I'm having trouble splitting my toolbar into two rows.
 
1) I add the drawing tool and a custom tool to the toolbar1 exclude list
property in openmap.properties.
 
2) I enable toolbar2 and add it to the list of components in
openmap.properties.
 
3) I add the drawing tool and a custom tool to the toolbar1 exclude list
property in openmap.properties.
 
Everything is showing up in one really wide toolbar at the top.
 
Here is an excerpt from my properties:
 
########################################################################
###
openmap.components= ... dtlayer myCustomTool toolbar1 toolbar2 ...
 
# ##
# ToolPanel definitions for the first ToolPanel 'toolbar'
toolBar.class=com.bbn.openmap.gui.ToolPanel
# Tell the first ToolPanel to avoid putting the DrawingToolLayer GUI in
it:
toolBar.avoid=dtlayer myCustomTool
 
# ToolPanel definitions for the second ToolPanel 'toolbar2'
toolBar2.class=com.bbn.openmap.gui.ToolPanel
# Tell the second ToolPanel that you only want it to put the
# DrawingToolLayer GUI in it:
toolBar2.components= dtlayer myCustomTool
 
# You can set the location, but it interferes with the
# InformationDelegator. Undefined, the ToolPanel goes North, but then
# it interferes with the first ToolPanel.
 
toolBar.preferredLocation=NORTH
toolBar2.preferredLocation=SOUTH
########################################################################
###
 
Thanks,
 
Erich Klaus
erich.klaus_at_REMOVE SPAM HEREzai.com
(Please Remove "REMOVE SPAM HERE" if replying directly)


--
[To unsubscribe to this list send an email to "majdart_at_bbn.com"
with the following text in the BODY of the message "unsubscribe openmap-users"]
Received on Fri Feb 03 2006 - 10:46:54 EST

This archive was generated by hypermail 2.3.0 : Tue Mar 28 2017 - 23:25:07 EDT