1
我可以製作BoxPane(例如垂直)BoxPane中的某個組件填充可用空間嗎?Apache Pivot:帶一個填充元素的BoxPane
例如,我希望ScrollPane採用標籤後留下的所有可用空間。 BXML:
<BoxPane orientation="vertical" styles="{fill:true}">
<Label text="Triggers:" />
<ScrollPane preferredWidth="80" preferredHeight="110"
horizontalScrollBarPolicy="fill"
verticalScrollBarPolicy="fill_to_capacity"
>
<ListView bxml:id="listTriggers" selectMode="single"
listData="['TRNIF_Trigger1'],['TRNIF_Trigger2'],['TRNIF_Trigger3']"
/>
</ScrollPane>
</BoxPane>