view clients/editor/gui/layertool.xml @ 372:e94cd7d1dab6

Changed some of the adaptLayout calls in object selector. This should fix the bug where the objectselector shrinks when a new object is selected. If previewmode is enabled or there are other heavy widgets attached to the root widget, there will probably be a brief lag while the widgets get updated.
author cheesesucker@33b003aa-7bff-0310-803a-e67f0ece8222
date Fri, 20 Nov 2009 00:41:56 +0000
parents 7be6293f13d1
children
line wrap: on
line source

<Panel title="Layertool" position="10,200" min_size="110, 150">
	<ScrollArea horizontal_scrollbar="0">
		<VBox name="layers_wrapper">
			<!-- Content is added dynamically here -->
		</VBox>
	</ScrollArea>
	<HBox name="button_wrapper">
		<Spacer />
		<ImageButton name="add_layer_button" hexpand="0" offset="1,1" 
				helptext="Creates a new layer"
				up_image="gui/icons/add_layer.png" down_image="gui/icons/add_layer.png" hover_image="gui/icons/add_layer.png" />
		<ImageButton name="edit_layer_button" hexpand="0" offset="1,1"
				helptext="Edit selected layer"
				up_image="gui/icons/edit.png" down_image="gui/icons/edit.png" hover_image="gui/icons/edit.png" />
		<ImageButton name="remove_layer_button" hexpand="0" offset="1,1" 
				helptext="Removes selected layer"
				up_image="gui/icons/quit.png" down_image="gui/icons/quit.png" hover_image="gui/icons/quit.png" />	
	</HBox>
</Panel>