2012-03-10 30 views

回答

4

我找到了一個解決方案:

<Tab> 
    <graphic> 
     <ImageView> 
      <image> 
        <Image url="@image.png"/> 
      </image> 
     </ImageView> 
    </graphic> 
    <content> 
     ... 
    </content> 
</Tab> 
+0

你將如何從代碼中的JavaFX 8做呢? – SomethingSomething 2015-05-14 07:50:13

+0

@SomethingSomething在這裏看看:http://stackoverflow.com/a/20591264/4135367 – 2016-11-22 11:50:46

相關問題