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

<Panel title="Layer Editor" min_size="200, 220">
	<VBox hexpand="1">
		<HBox>
			<Label name="layerLabel" text="Layer ID:" />
			<TextField name="layerBox" hexpand="3" />
		</HBox>
		<Label name="pathingLabel" text="Pathfinding strategy:"/>
		<DropDown name="pathingBox"/>

		<Spacer fixed_size="10" />
		
		<Label name="gridLabel" text="Grid type:" />
		<DropDown name="gridBox"/>
		<HBox>
			<Label name="rotLabel" text="Rotation:" />
			<TextField name="rotBox" text="0.0" hexpand="3" />
		</HBox>
		<HBox>
			<Label name="scaleLabel" text="Scale:" />
			<Label name="xScaleLabel" text="X:" hexpand="0"/>
			<TextField name="xScaleBox" text="1.0"  min_size="45,10" />
			<Label name="yScaleLabel" text="Y:" hexpand="0"/>
			<TextField name="yScaleBox" text="1.0"  min_size="45,10" />
		</HBox>
		<HBox>
			<Label name="offsetLabel" text="Offset:" />
			<Label name="xOffsetLabel" text="X:" hexpand="0" />
			<TextField name="xOffsetBox" text="0.0" min_size="45,10" />
			<Label name="yOffsetLabel" text="Y:" hexpand="0" />
			<TextField name="yOffsetBox" text="0.0" min_size="45,10" />
		</HBox>
		<HBox>
			<Label name="transLabel" text="Transparency:" hexpand="0" />
			<TextField name="transBox" text="0" min_size="45,10" />
		</HBox>
	</VBox>
	
	<HBox>
		<Spacer />
		<Button name="okButton" text="OK" />
		<Button name="cancelButton" text="Cancel" />
	</HBox>
	
</Panel>