Hi, Well first of all the bad news: the code seems to be lost by my previous company...
And the good news: I've decided to implement a POC. I've just started the code. It is ok if I post the source code of the first preview ? (1 class + 1 snippet) Laurent 2018-03-20 8:25 GMT+01:00 Lars Vogel <[email protected]>: > Great to hear, Laurent. Looking forward to your update. :-) > > On Mon, Mar 19, 2018 at 9:31 PM, Laurent Caron <[email protected]> > wrote: > > Hi Lars, > > > > First of all I'm happy you enjoyed the widgets... And happy that you it > > gives you new ideas for RCP Applications! > > > > I worked on this kind of widget in my previous company, as a POC that was > > unfortunately not used in production. The tool took 2 parameters: a label > > and a text widget.The animation started when the text widget had focus. > > The code was not very clean but it was functionnal. > > > > I have to contact my former colleagues to check if this work could be > open > > sourced... Because it was not used, I do not think that it will be a > > problem. > > > > Please stay tuned, > > > > Laurent > > > > > > 2018-03-19 13:19 GMT+01:00 Lars Vogel <[email protected]>: > >> > >> Hello, my fellow Nebula developers, > >> > >> Looking at the awesome new editions from Laurent to the Nebula library > >> (many thanks to Laurent for that) triggered a desire for a new SWT > >> widget. ;-) > >> > >> Did someone in this group already created a "FloatingText" widget? In > >> such a widget the message hint in the text fields animates to the top > >> of the input field as soon as the user gives focus to it. > >> > >> This is heavily used in Android. See > >> > >> https://www.androidhive.info/2015/09/android-material- > design-floating-labels-for-edittext/ > >> or an example video. IMHO it creates a very nice experience for users > >> as it allows very condense UIs. Eclipse UIs could benefit quite a bit > >> from that in my opinion. > >> > >> My current (lame) implementation is a compound composite wrapping a > >> label and a text field and moving the content of the text field to the > >> label once the user gives focus to the text field. I'm happy to share > >> it, but it is really trivial and misses the animation. > >> > >> Did someone already created such a FloatingText" widget? If not would > >> my trivial widget interesting for Nebula, maybe as a starting point > >> for something more advanced? If yes, could you share your > >> implementation? > >> > >> Best regards, Lars > >> > >> > >> -- > >> Eclipse Platform project co-lead > >> CEO vogella GmbH > >> > >> Haindaalwisch 17a, 22395 Hamburg > >> Amtsgericht Hamburg: HRB 127058 > >> Geschäftsführer: Lars Vogel, Jennifer Nerlich de Vogel > >> USt-IdNr.: DE284122352 > >> Fax (040) 5247 6322, Email: [email protected], Web: > >> http://www.vogella.com > >> _______________________________________________ > >> nebula-dev mailing list > >> [email protected] > >> To change your delivery options, retrieve your password, or unsubscribe > >> from this list, visit > >> https://dev.eclipse.org/mailman/listinfo/nebula-dev > > > > > > > > _______________________________________________ > > nebula-dev mailing list > > [email protected] > > To change your delivery options, retrieve your password, or unsubscribe > from > > this list, visit > > https://dev.eclipse.org/mailman/listinfo/nebula-dev > > > > -- > Eclipse Platform project co-lead > CEO vogella GmbH > > Haindaalwisch 17a, 22395 Hamburg > Amtsgericht Hamburg: HRB 127058 > Geschäftsführer: Lars Vogel, Jennifer Nerlich de Vogel > USt-IdNr.: DE284122352 > Fax (040) 5247 6322, Email: [email protected], Web: > http://www.vogella.com > _______________________________________________ > nebula-dev mailing list > [email protected] > To change your delivery options, retrieve your password, or unsubscribe > from this list, visit > https://dev.eclipse.org/mailman/listinfo/nebula-dev >
_______________________________________________ nebula-dev mailing list [email protected] To change your delivery options, retrieve your password, or unsubscribe from this list, visit https://dev.eclipse.org/mailman/listinfo/nebula-dev
