0
我有以下togglebuttonbar:設置horizontalGap的,並與一個按鈕一個按鈕欄裏面
<mx:ToggleButtonBar buttonWidth="85" height="45" id="menuBar" width="595" x="0" y="23">
<mx:dataProvider>
<mx:Object data="{LocalConfig.CONNECTION_STATE}" icon="@Embed(source='resources/images/Bonjour.png')" label=" "/>
<mx:Object data="{LocalConfig.LANGUAGES_STATE}" icon="@Embed(source='resources/images/languages.png')" label=" "/>
<mx:Object data="{LocalConfig.TAGGING_STATE}" icon="@Embed(source='resources/images/tag.png')" label=" "/>
<mx:Object data="{LocalConfig.FONT_MAPPING_STATE}" icon="@Embed(source='resources/images/FontPanel.png')" label=" "/>
<mx:Object data="{LocalConfig.ERROR_CHECKING_STATE}" icon="@Embed(source='resources/images/Clear-Green-Button.png')" label=" "/>
<mx:Object data="{LocalConfig.USERS_STATE}" icon="@Embed(source='resources/images/UserAccounts.png')" label=" "/>
<mx:Object data="{LocalConfig.UPLOAD_STATE}" icon="@Embed(source='resources/images/Network.png')" label=" "/>
</mx:dataProvider>
</mx:ToggleButtonBar>
什麼,我想的是,最後一個按鈕有一個10像素horizontalGap的所以它的其餘脫穎而出鈕釦。我也希望它比其他按鈕小一點。是否有可能做到或者我應該嘗試一種不同的方法?我也嘗試將它定義爲一個單獨的按鈕,但是然後你放棄了按下按鈕的效果。