Fixed C1P machine layouts

The padding attributes on the machine element (padtop, padbottom, etc) affect padding *around* the machine, whereas padding attributes inside the machine's style attribute affect padding *inside* the machine
This commit is contained in:
Jeff Parsons 2014-10-23 20:53:40 -07:00 • committed by jeffpar
commit c33afed14c
9 changed files with 11 additions and 14 deletions

View file

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<machine id="c1pEmbed" class="c1p" border="1" width="272px" pos="right" padleft="16px" padright="16px" padbottom="16px" style="background-color:#FAEBD7">
<machine id="c1pEmbed" class="c1p" border="1" width="272px" pos="right" padleft="16px" padright="16px" padbottom="16px" style="background-color:#FAEBD7;padding-bottom:8px">
<computer id="c1p" name="Challenger 1P">
<module type="cpu" refid="cpu6502" start="0x0000" end="0xffff"/>
<module type="ram" refid="ram8K" start="0x0000" end="0x1fff"/>
@ -22,4 +22,4 @@
<control type="button" class="input" binding="break">BREAK</control>
</keyboard>
<serial id="serialPort" demo="true"/>
</machine>
</machine>