[英]Background transparent not working JavaFX
您好,我有一個類似這樣的彈出窗口:
問題是我的背景像圖片中的邊框半徑一樣白了。
我有這樣的CSS:
.anchorPanePopUpError { -fx-border-color: #BDC3C7; -fx-border-width: 5px; -fx-border-radius: 30px; -fx-background-radius: 30px; }
我的計算機上沒有問題,但是在另一台計算機上雖然Java版本相同。
請幫助。
我今天遇到了同樣的問題,當您創建舞台時,需要使用setStageStyle(StageStyle.TRANSPARENT)。 您可能將其設置為UNDECORATED
[英]Background transparent not working
[英]javafx2.2 making a scrollbar with transparent background
[英]JavaFX ScrollPane how set transparent background
[英]transparent background-color not working
[英]Swiffy transparent background not working with Chrome
[英]IE6 transparent background color not working
[英]CSS transparent background not working in IE7-8
[英]Transparent background is not working correctly in IE9
[英]Transparent background color not working on mobile devices
[英]Transparent font on transparent background
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.