我有一个包含 2 个图形的组,我将组的垂直布局中的间隙设置为 0,但 2 个图形之间仍然存在 1 个像素的间隙。知道如何摆脱这个吗?
<?xml version="1.0" encoding="utf-8"?>
<s:Application xmlns:fx="http://ns.adobe.com/mxml/2009"
xmlns:s="library://ns.adobe.com/flex/spark"
xmlns:mx="library://ns.adobe.com/flex/mx" minWidth="955" minHeight="600">
<s:Group>
<s:layout>
<s:VerticalLayout gap="0"/>
</s:layout>
<s:Graphic height="100">
<s:Path data="M 50 0 L 50 100 Z" height="100">
<s:stroke>
<s:SolidColorStroke color="#333333"/>
</s:stroke>
</s:Path>
</s:Graphic>
<s:Graphic height="1">
<s:Path data="M 0 0 L 100 0 Z" height="1">
<s:stroke>
<s:SolidColorStroke color="#333333"/>
</s:stroke>
</s:Path>
</s:Graphic>
</s:Group>
</s:Application>