Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [nebula-dev] Anyone created already a FloatingText widgets for SWT?

Hi,

Very good job, congratulations !

I was wondering if you want to get closer to the Material Design, with no border and a thin line under the text area when the focus is on it ?

Laurent

Le lun. 29 oct. 2018 à 10:11, Wim Jongman <wim.jongman@xxxxxxxxx> a écrit :
😎

On Sat, Oct 27, 2018 at 8:49 AM Vincenzo Caselli <vincenzo.caselli@xxxxxxxxxxxxxx> wrote:
Hi Wim,
that's really cool !!
Best regards
Vincenzo

Il giorno ven 26 ott 2018 alle ore 22:09 Wim Jongman <wim.jongman@xxxxxxxxx> ha scritto:
I took a stab at it. Please take a look and let me know what you think. The code is here [1]


2018-10-26_22-05-47.gif

On Tue, Oct 16, 2018 at 9:04 PM Lars Vogel <lars.vogel@xxxxxxxxxxx> wrote:
Thanks, Donald.
On Tue, Oct 16, 2018 at 1:18 AM Dunne (US), Donald G
<donald.g.dunne@xxxxxxxxxx> wrote:
>
> Not that I've seen.
>
> -----Original Message-----
> From: nebula-dev-bounces@xxxxxxxxxxx [mailto:nebula-dev-bounces@xxxxxxxxxxx] On Behalf Of Lars Vogel
> Sent: Monday, October 15, 2018 11:56 AM
> To: Nebula Dev <nebula-dev@xxxxxxxxxxx>
> Subject: Re: [nebula-dev] Anyone created already a FloatingText widgets for SWT?
>
> Hello Nebula developers,
>
> was there progress on the creation of a FloatingText widget? I didn't see an update from Laurent, but maybe something was committed?
>
> Best regards, Lars
> On Thu, May 17, 2018 at 10:13 PM Laurent Caron <laurent.caron@xxxxxxxxx> wrote:
> >
> > Hi Lars,
> >
> > Unfortunately not... My time is shared between a migration of our product from RCP 3.7 to 4.7 (tough work), my talk for EclipseCon and my family.
> >
> > Once the pressure will be lower, I'll work on this subject.
> >
> > Have a nice evening,
> >
> > Laurent
> >
> > Le mar. 15 mai 2018 à 14:03, Lars Vogel <lars.vogel@xxxxxxxxxxx> a écrit :
> >>
> >> Hi Laurent,
> >>
> >> any update on the floating text widget?
> >>
> >> Best regards, Lars
> >>
> >> On Tue, Apr 3, 2018 at 10:46 PM, Lars Vogel <lars.vogel@xxxxxxxxxxx> wrote:
> >> > Thanks Laurent for the update. Maybe you can also leave out the
> >> > animation for the first version?
> >> >
> >> > Best regards, Lars
> >> >
> >> >
> >> > Laurent Caron <laurent.caron@xxxxxxxxx> 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.vogel@xxxxxxxxxxx>:
> >> >>>
> >> >>> Great news Laurent, looking forward to it.
> >> >>>
> >> >>> Best regards, Lars
> >> >>>
> >> >>> On Wed, Mar 21, 2018 at 9:24 PM, Laurent Caron
> >> >>> <laurent.caron@xxxxxxxxx>
> >> >>> 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.vogel@xxxxxxxxxxx>:
> >> >>> >>
> >> >>> >> 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.caron@xxxxxxxxx>
> >> >>> >> 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.vogel@xxxxxxxxxxx>:
> >> >>> >> >>
> >> >>> >> >> Great to hear, Laurent. Looking forward to your update.
> >> >>> >> >> :-)
> >> >>> >> >>
> >> >>> >> >> On Mon, Mar 19, 2018 at 9:31 PM, Laurent Caron
> >> >>> >> >> <laurent.caron@xxxxxxxxx>
> >> >>> >> >> 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.vogel@xxxxxxxxxxx>:
> >> >>> >> >> >>
> >> >>> >> >> >> 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-de
> >> >>> >> >> >> sign-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.vogel@xxxxxxxxxxx, Web:
> >> >>> >> >> >> http://www.vogella.com
> >> >>> >> >> >> _______________________________________________
> >> >>> >> >> >> nebula-dev mailing list
> >> >>> >> >> >> nebula-dev@xxxxxxxxxxx
> >> >>> >> >> >> 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@xxxxxxxxxxx
> >> >>> >> >> > 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.vogel@xxxxxxxxxxx, Web:
> >> >>> >> >> http://www.vogella.com
> >> >>> >> >> _______________________________________________
> >> >>> >> >> nebula-dev mailing list
> >> >>> >> >> nebula-dev@xxxxxxxxxxx
> >> >>> >> >> 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@xxxxxxxxxxx
> >> >>> >> > 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.vogel@xxxxxxxxxxx, Web:
> >> >>> >> http://www.vogella.com
> >> >>> >> _______________________________________________
> >> >>> >> nebula-dev mailing list
> >> >>> >> nebula-dev@xxxxxxxxxxx
> >> >>> >> 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@xxxxxxxxxxx
> >> >>> > 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.vogel@xxxxxxxxxxx, Web:
> >> >>> http://www.vogella.com
> >> >>> _______________________________________________
> >> >>> nebula-dev mailing list
> >> >>> nebula-dev@xxxxxxxxxxx
> >> >>> 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@xxxxxxxxxxx
> >> >> 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.vogel@xxxxxxxxxxx, Web: http://www.vogella.com
> >> _______________________________________________
> >> nebula-dev mailing list
> >> nebula-dev@xxxxxxxxxxx
> >> 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@xxxxxxxxxxx
> > 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.vogel@xxxxxxxxxxx, Web: http://www.vogella.com
> _______________________________________________
> nebula-dev mailing list
> nebula-dev@xxxxxxxxxxx
> 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@xxxxxxxxxxx
> 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.vogel@xxxxxxxxxxx, Web: http://www.vogella.com
_______________________________________________
nebula-dev mailing list
nebula-dev@xxxxxxxxxxx
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@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://www.eclipse.org/mailman/listinfo/nebula-dev

_______________________________________________
nebula-dev mailing list
nebula-dev@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://www.eclipse.org/mailman/listinfo/nebula-dev
_______________________________________________
nebula-dev mailing list
nebula-dev@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://www.eclipse.org/mailman/listinfo/nebula-dev

Back to the top