Thanks Laurent for the update. Maybe you can also leave out the animation
for the first version?

Best regards, Lars

Laurent Caron <laurent.ca...@gmail.com> schrieb am Di., 3. Apr. 2018, 21:16:

> Hi Lars,
>
> I've tried to achieve this challenge, and I'm very disapointed by the
> result. Indeed, when the animation starts it is very very jerky. My former
> colleagues told me that in my original work, the animation was not present
> (the sizes change in a single operation).
>
> I've tried to understand why the result is so bad :
> 1) Font sizes are integer, so even if you want to move your label size
> from 16 pixels to 20 pixels in 500ms, it's not smooth
> 2) We need to layout the label and the text widget
>
> I keep working on it, but I just wanted to keep you informed
>
> Laurent
>
>
>
> 2018-03-21 22:16 GMT+01:00 Lars Vogel <lars.vo...@vogella.com>:
>
>> Great news Laurent, looking forward to it.
>>
>> Best regards, Lars
>>
>> On Wed, Mar 21, 2018 at 9:24 PM, Laurent Caron <laurent.ca...@gmail.com>
>> wrote:
>> > Hi Lars,
>> >
>> > Yep I use Gerrit, I'll push my changes.
>> >
>> > I think this component will be on "incubation" state, and will be
>> available
>> > in the next version of Nebula.
>> >
>> > Kind regards
>> >
>> > Laurent
>> >
>> > 2018-03-20 20:32 GMT+01:00 Lars Vogel <lars.vo...@vogella.com>:
>> >>
>> >> Hi Laurent,
>> >>
>> >> great news indeed. Thanks a bunch for this work. In case you need a
>> >> bug, I opened https://bugs.eclipse.org/bugs/show_bug.cgi?id=532680.
>> >>
>> >> > It is ok if I post the source code of the first preview ? (1 class +
>> 1
>> >> > snippet)
>> >>
>> >> Sounds great. In case you are using Gerrit, you can also upload a
>> >> Gerrit change with the POC.
>> >>
>> >> Best regards, Lars
>> >>
>> >> On Tue, Mar 20, 2018 at 7:26 PM, Laurent Caron <
>> laurent.ca...@gmail.com>
>> >> wrote:
>> >> > 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 <lars.vo...@vogella.com>:
>> >> >>
>> >> >> Great to hear, Laurent. Looking forward to your update.  :-)
>> >> >>
>> >> >> On Mon, Mar 19, 2018 at 9:31 PM, Laurent Caron
>> >> >> <laurent.ca...@gmail.com>
>> >> >> 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 <lars.vo...@vogella.com>:
>> >> >> >>
>> >> >> >> 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: lars.vo...@vogella.com, Web:
>> >> >> >> http://www.vogella.com
>> >> >> >> _______________________________________________
>> >> >> >> nebula-dev mailing list
>> >> >> >> nebula-dev@eclipse.org
>> >> >> >> 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
>> >> >> > nebula-dev@eclipse.org
>> >> >> > 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: lars.vo...@vogella.com, Web:
>> >> >> http://www.vogella.com
>> >> >> _______________________________________________
>> >> >> nebula-dev mailing list
>> >> >> nebula-dev@eclipse.org
>> >> >> 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
>> >> > nebula-dev@eclipse.org
>> >> > 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: lars.vo...@vogella.com, Web:
>> >> http://www.vogella.com
>> >> _______________________________________________
>> >> nebula-dev mailing list
>> >> nebula-dev@eclipse.org
>> >> 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
>> > nebula-dev@eclipse.org
>> > 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: lars.vo...@vogella.com, Web:
>> http://www.vogella.com
>> _______________________________________________
>> nebula-dev mailing list
>> nebula-dev@eclipse.org
>> 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
> nebula-dev@eclipse.org
> 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
nebula-dev@eclipse.org
To change your delivery options, retrieve your password, or unsubscribe from 
this list, visit
https://dev.eclipse.org/mailman/listinfo/nebula-dev

Reply via email to