Mercurial > fife-parpg
changeset 342:7be6293f13d1
Made LayerEditor prettier
author | cheesesucker@33b003aa-7bff-0310-803a-e67f0ece8222 |
---|---|
date | Tue, 25 Aug 2009 00:31:16 +0000 |
parents | 3a268cf93752 |
children | 8e71629c4c43 |
files | clients/editor/gui/layereditor.xml clients/editor/gui/layertool.xml |
diffstat | 2 files changed, 27 insertions(+), 26 deletions(-) [+] |
line wrap: on
line diff
--- a/clients/editor/gui/layereditor.xml Tue Aug 25 00:09:05 2009 +0000 +++ b/clients/editor/gui/layereditor.xml Tue Aug 25 00:31:16 2009 +0000 @@ -1,33 +1,34 @@ -<Panel title="Layer Editor"> +<Panel title="Layer Editor" min_size="200, 220"> <VBox hexpand="1"> <HBox> - <Label name="layerLabel" text="Layer ID:" min_size="125,10"/> - <TextField name="layerBox" min_size="100,10"/> - </HBox> - <Label name="gridLabel" text="Grid type:" min_size="125,10"/> - <DropDown name="gridBox"/> - <Label name="scaleLabel" text="Scale:" min_size="125,10"/> - <HBox> - <Spacer /> - <Label name="xScaleLabel" text="X:" min_size="40,10"/> - <TextField name="xScaleBox" min_size="40,10" text="1.0" /> - <Label name="yScaleLabel" text="Y:" min_size="40,10"/> - <TextField name="yScaleBox" min_size="40,10" text="1.0" /> - </HBox> - <HBox> - <Label name="rotLabel" text="Rotation:" min_size="125,10"/> - <TextField name="rotBox" text="0" min_size="100,10"/> - </HBox> - <Label name="offsetLabel" text="Offset:" min_size="125,10"/> - <HBox> - <Spacer /> - <Label name="xOffsetLabel" text="X:" min_size="40,10"/> - <TextField name="xOffsetBox" min_size="40,10" text="0.0" /> - <Label name="yOffsetLabel" text="Y:" min_size="40,10"/> - <TextField name="yOffsetBox" min_size="40,10" text="0.0" /> + <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> </VBox> <HBox>
--- a/clients/editor/gui/layertool.xml Tue Aug 25 00:09:05 2009 +0000 +++ b/clients/editor/gui/layertool.xml Tue Aug 25 00:31:16 2009 +0000 @@ -1,4 +1,4 @@ -<Panel title="Layertool" position="10,200" min_size="100, 75"> +<Panel title="Layertool" position="10,200" min_size="110, 150"> <ScrollArea horizontal_scrollbar="0"> <VBox name="layers_wrapper"> <!-- Content is added dynamically here -->