프로그래밍 방식으로 원하는 위치에 표시 할 수있는 멋진 도구 설명을 만들고 싶습니다.
javaFx에서 도구 설명을 보았지만 TextField를 가리키는 화살표가있는 멋진 도구 설명을 팝업해야합니다.
stackoverflow에있는 것과 같은 툴팁이 필요합니다.
누군가 이전에 해본 적이 있거나 방법을 알고 있습니까?
감사합니다!
나는 이것이 당신을 도울 것이라고 생각합니다.
.tooltip {
-fx-skin: "com.sun.javafx.scene.control.skin.TooltipSkin";
-fx-background-color:
linear-gradient(#cec340, #a59c31),
linear-gradient(#fefefc, #e6dd71),
linear-gradient(#fef592, #e5d848);
-fx-background-insets: 0,1,2;
-fx-background-radius: 0 0 13 0;
-fx-padding: 0.333333em 0.666667em 0.333333em 0.666667em; /* 4 8 4 8 */
-fx-effect: dropshadow( three-pass-box , rgba(0,0,0,0.6) , 8, 0.0 , 0 , 0 );
}
.page-corner {
-fx-padding: 4.5 4.5 4.5 4.5;
-fx-background-color: linear-gradient( from 0% 0% to 50% 50%, #fcf7b6, #a59c31);
-fx-shape: "M0,0H9L0,9Z";
-fx-effect: dropshadow( three-pass-box , rgba(0,0,0,0.6) , 4 , 0.0 , 0 , 0 );
}
이 기사는 인터넷에서 수집됩니다. 재 인쇄 할 때 출처를 알려주십시오.
침해가 발생한 경우 연락 주시기 바랍니다[email protected] 삭제
몇 마디 만하겠습니다