view clients/editor/gui/objectselector.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 51cc05d862f2
children
line wrap: on
line source

<Panel title="Object selector" min_size="200,300">
	<VBox hexpand="1" vexpand="1">
		<!-- Search field -->
		<HBox>
			<TextField name="searchField" />
			<Button name="searchButton" text="Search" hexpand="0" /> 
		</HBox>

    <!-- Namespaces -->
		<DropDown name="namespaceDropdown" />

    <!-- Main area (object list) -->
		<ScrollArea name="mainScrollArea" min_size="150,50"/>

    <!-- Action buttons -->
		<HBox>
			<Spacer />
			<Button name="toggleModeButton" text="Toggle previewmode" />
			<Button name="closeButton" text="Close" />
		</HBox>

    <!-- Preview area -->
		<ScrollArea name="previewScrollArea" max_size="200,1" vexpand="1">
			<Icon name="previewIcon" />
		</ScrollArea>
	</VBox>
</Panel>