View Single Post
  #2  
Unread 09-19-2010, 10:21 PM
grezgorz grezgorz is offline
The Indomitable
 
Join Date: Sep 2010
Posts: 13
If you just want them hidden, set their x,y to 0,0 and width/height to 1/1. This would be the simplest solution.
If you want to reposition them, you'll have to experiment with the x/y values until they're where you want them. Remember that because they are 'children' of the ToolbarField element, the position is calculated as an offset from the top left corner of the 'parent' element. The code you posted places them at x=1400, while the parent field is specified as only being 1152 pixels wide. I suspect what is happening is that they are reverting to their default offset, since the specified location is invalid. Hope that makes sense.

This is what I have to hide them:
Code:
        
<Element ID="Toolbar_WebstoreButton"  X="0" Y="0"  Width="1" Height="1" />
	<Element ID="ToolbarFieldMain_LevelMeter_Left_Cap" X="0" Y="0" Width="1" Height="1" />
	<Element ID="ToolbarFieldMain_LevelMeter_Right_Cap" X="0" Y="0" Width="1" Height="1" />
	<Element ID="ToolbarFieldMain_LevelMeter_Mid_Left_Cap" X="0" Y="0" Width="1" Height="1" />
	<Element ID="ToolbarFieldMain_LevelMeter_Mid_Right_Cap" X="0" Y="0" Width="1" Height="1" />
Reply With Quote