Comments on: Fun with JavaFX, how to subclass UI controls https://www.stormacq.com/fun-with-javafx-how-to-subclass-ui-controls/ Some not-so random thoughts about this small IT World Mon, 25 Jan 2016 12:47:01 +0000 hourly 1 https://wordpress.org/?v=4.9.1 By: Zoltan, MAGDO https://www.stormacq.com/fun-with-javafx-how-to-subclass-ui-controls/comment-page-1/#comment-100 Wed, 10 Feb 2010 00:55:37 +0000 https://www.stormacq.com/?p=179#comment-100 Hi,

Good job!

I have changed
override var style = "padding-right: 23;padding-left: 23;

with
override var style = "padding-right: 23;padding-left: 23; border-width: -1; focus-size: -1";

and I got SearchTexBox whitout Border and focus rectangle !

]]>
By: Sebastien Stormacq https://www.stormacq.com/fun-with-javafx-how-to-subclass-ui-controls/comment-page-1/#comment-99 Sun, 21 Jun 2009 23:59:10 +0000 https://www.stormacq.com/?p=179#comment-99 I am afraid this is not accurate : the prompText attribute allows to enter a text that will be displayed in light gray while the control is empty. The prompText attribute does not add a "cancel" button nor the glass icon.

]]>
By: Farrukh https://www.stormacq.com/fun-with-javafx-how-to-subclass-ui-controls/comment-page-1/#comment-98 Sun, 21 Jun 2009 15:21:06 +0000 https://www.stormacq.com/?p=179#comment-98 the fumctionality you created is already provided in TextBox set the promptText:"search"

]]>
By: Sebastien Stormacq https://www.stormacq.com/fun-with-javafx-how-to-subclass-ui-controls/comment-page-1/#comment-97 Wed, 17 Jun 2009 01:58:51 +0000 https://www.stormacq.com/?p=179#comment-97 Thanks Philippe for your help and suggestion, I will add credit to you in this entry

]]>
By: Philippe Lhoste https://www.stormacq.com/fun-with-javafx-how-to-subclass-ui-controls/comment-page-1/#comment-96 Tue, 16 Jun 2009 13:30:21 +0000 https://www.stormacq.com/?p=179#comment-96 Nice to see you finally managed to get it done. The result really looks good and is useful.
Good job!

]]>