mkheck / DialogFX

DialogFX adds fully-baked and flexible dialog box functionality to JavaFX 2.2+.
12 stars 7 forks source link

Replace jpg icons with CSS SVG to be resolution independent #1

Open HanSolo opened 12 years ago

HanSolo commented 12 years ago

It would be nice to use CSS SVG for the icons to be resolution independent. Not sure but it might also be useful on retina displays.

mkheck commented 12 years ago

I have SVGs, will get them uploaded. Thanks!

HanSolo commented 12 years ago

Hi Mark,

Please find attached to this mail a DialogFXBuilder.java file that might be useful to add to your project on github. I have not tested it yet but it should work.

Cheers,

Gerrit

Am 03.09.2012 um 21:34 schrieb Mark Heckler notifications@github.com:

I have SVGs, will get them uploaded. Thanks!

— Reply to this email directly or view it on GitHub.

Gerrit Grunwald

Westfalenstr. 93 48165 Münster Germany

tel : +49 (0)2501 24321 fax : +49 (0)2501 988760 mobile: +49 (0)171 1745350 mail : han.solo@muenster.de web : http://www.harmonic-code.org

mkheck commented 12 years ago

Hi Gerrit,

I'm not seeing the attachment, but then, GMail and GVoice are not working quite right today. ??? I don't see them on GitHub either, but I think that may be because you weren't listed as a project contributor. I've fixed that. :-)

Looking forward to getting and testing the Builder! Shoot it my way and I'll push it into the pipeline. And thanks again!

All the best, Mark

P.S. - Jonathan Giles & Tom Eugelink have asked if this could be rolled into JFXtras. I don't see why not...what do you think?

On Tue, Sep 4, 2012 at 2:26 AM, Gerrit Grunwald notifications@github.comwrote:

Hi Mark,

Please find attached to this mail a DialogFXBuilder.java file that might be useful to add to your project on github. I have not tested it yet but it should work.

Cheers,

Gerrit

Am 03.09.2012 um 21:34 schrieb Mark Heckler notifications@github.com:

I have SVGs, will get them uploaded. Thanks!

— Reply to this email directly or view it on GitHub.

Gerrit Grunwald

Westfalenstr. 93 48165 Münster Germany

tel : +49 (0)2501 24321 fax : +49 (0)2501 988760 mobile: +49 (0)171 1745350 mail : han.solo@muenster.de web : http://www.harmonic-code.org

— Reply to this email directly or view it on GitHubhttps://github.com/hecklerm/DialogFX/issues/1#issuecomment-8254553.

HanSolo commented 12 years ago

Hi Mark,

Ok, because our friends are a bit late I have pushed the builder to the repo :)

Hope it works, had no time to test it,

Cheers,

Gerrit Grunwald

Westfalenstrasse 93 48165 Münster

mobile: +49 (0)171 1745350 tel: +49 (0)2501 24321 web: www.harmonic-code.org twitter: @hansolo_

Am 04.09.2012 um 19:05 schrieb Mark Heckler notifications@github.com:

Hi Gerrit,

I'm not seeing the attachment, but then, GMail and GVoice are not working quite right today. ??? I don't see them on GitHub either, but I think that may be because you weren't listed as a project contributor. I've fixed that. :-)

Looking forward to getting and testing the Builder! Shoot it my way and I'll push it into the pipeline. And thanks again!

All the best, Mark

P.S. - Jonathan Giles & Tom Eugelink have asked if this could be rolled into JFXtras. I don't see why not...what do you think?

On Tue, Sep 4, 2012 at 2:26 AM, Gerrit Grunwald notifications@github.comwrote:

Hi Mark,

Please find attached to this mail a DialogFXBuilder.java file that might be useful to add to your project on github. I have not tested it yet but it should work.

Cheers,

Gerrit

Am 03.09.2012 um 21:34 schrieb Mark Heckler notifications@github.com:

I have SVGs, will get them uploaded. Thanks!

— Reply to this email directly or view it on GitHub.

Gerrit Grunwald

Westfalenstr. 93 48165 Münster Germany

tel : +49 (0)2501 24321 fax : +49 (0)2501 988760 mobile: +49 (0)171 1745350 mail : han.solo@muenster.de web : http://www.harmonic-code.org

— Reply to this email directly or view it on GitHubhttps://github.com/hecklerm/DialogFX/issues/1#issuecomment-8254553.

— Reply to this email directly or view it on GitHub.

mkheck commented 12 years ago

I'll check it out, hopefully this afternoon. Thanks!

Mark

On Tue, Sep 4, 2012 at 12:29 PM, Gerrit Grunwald notifications@github.comwrote:

Hi Mark,

Ok, because our friends are a bit late I have pushed the builder to the repo :)

Hope it works, had no time to test it,

Cheers,

Gerrit Grunwald

Westfalenstrasse 93 48165 Münster

  • GERMANY -

mobile: +49 (0)171 1745350 tel: +49 (0)2501 24321 web: www.harmonic-code.org twitter: @hansolo_

Am 04.09.2012 um 19:05 schrieb Mark Heckler notifications@github.com:

Hi Gerrit,

I'm not seeing the attachment, but then, GMail and GVoice are not working quite right today. ??? I don't see them on GitHub either, but I think that may be because you weren't listed as a project contributor. I've fixed that. :-)

Looking forward to getting and testing the Builder! Shoot it my way and I'll push it into the pipeline. And thanks again!

All the best, Mark

P.S. - Jonathan Giles & Tom Eugelink have asked if this could be rolled into JFXtras. I don't see why not...what do you think?

On Tue, Sep 4, 2012 at 2:26 AM, Gerrit Grunwald < notifications@github.com>wrote:

Hi Mark,

Please find attached to this mail a DialogFXBuilder.java file that might be useful to add to your project on github. I have not tested it yet but it should work.

Cheers,

Gerrit

Am 03.09.2012 um 21:34 schrieb Mark Heckler notifications@github.com:

I have SVGs, will get them uploaded. Thanks!

— Reply to this email directly or view it on GitHub.

Gerrit Grunwald

Westfalenstr. 93 48165 Münster Germany

tel : +49 (0)2501 24321 fax : +49 (0)2501 988760 mobile: +49 (0)171 1745350 mail : han.solo@muenster.de web : http://www.harmonic-code.org

— Reply to this email directly or view it on GitHub< https://github.com/hecklerm/DialogFX/issues/1#issuecomment-8254553>.

— Reply to this email directly or view it on GitHub.

— Reply to this email directly or view it on GitHubhttps://github.com/hecklerm/DialogFX/issues/1#issuecomment-8271604.

mkheck commented 12 years ago

Hi Gerrit,

Had a chance to circle back and play with the .svg files a bit and am hitting a roadblock. I'm not heavy into graphics formats/conversions, but I don't see a clean way to incorporate the .svg icons (rather than .jpg files) unless we incorporate an outside library like Batik. I was trying to avoid pulling in anything "non-native". Any ideas? Or am I missing something?

Thanks for any suggestions you may have. I'm off to test some Builder code. ;-)

All the best, Mark

On Tue, Sep 4, 2012 at 12:33 PM, Mark Heckler mark.heckler@gmail.comwrote:

I'll check it out, hopefully this afternoon. Thanks!

Mark

On Tue, Sep 4, 2012 at 12:29 PM, Gerrit Grunwald <notifications@github.com

wrote:

Hi Mark,

Ok, because our friends are a bit late I have pushed the builder to the repo :)

Hope it works, had no time to test it,

Cheers,

Gerrit Grunwald

Westfalenstrasse 93 48165 Münster

  • GERMANY -

mobile: +49 (0)171 1745350 tel: +49 (0)2501 24321 web: www.harmonic-code.org twitter: @hansolo_

Am 04.09.2012 um 19:05 schrieb Mark Heckler notifications@github.com:

Hi Gerrit,

I'm not seeing the attachment, but then, GMail and GVoice are not working quite right today. ??? I don't see them on GitHub either, but I think that may be because you weren't listed as a project contributor. I've fixed that. :-)

Looking forward to getting and testing the Builder! Shoot it my way and I'll push it into the pipeline. And thanks again!

All the best, Mark

P.S. - Jonathan Giles & Tom Eugelink have asked if this could be rolled into JFXtras. I don't see why not...what do you think?

On Tue, Sep 4, 2012 at 2:26 AM, Gerrit Grunwald < notifications@github.com>wrote:

Hi Mark,

Please find attached to this mail a DialogFXBuilder.java file that might be useful to add to your project on github. I have not tested it yet but it should work.

Cheers,

Gerrit

Am 03.09.2012 um 21:34 schrieb Mark Heckler notifications@github.com:

I have SVGs, will get them uploaded. Thanks!

— Reply to this email directly or view it on GitHub.

Gerrit Grunwald

Westfalenstr. 93 48165 Münster Germany

tel : +49 (0)2501 24321 fax : +49 (0)2501 988760 mobile: +49 (0)171 1745350 mail : han.solo@muenster.de web : http://www.harmonic-code.org

— Reply to this email directly or view it on GitHub< https://github.com/hecklerm/DialogFX/issues/1#issuecomment-8254553>.

— Reply to this email directly or view it on GitHub.

— Reply to this email directly or view it on GitHubhttps://github.com/hecklerm/DialogFX/issues/1#issuecomment-8271604.

HanSolo commented 12 years ago

Hi Mark,

I think you should use StackPanes to replace the ImageViews and use CSS to add the SVG icons. I will take a look at it tomorrow.

Cheers,

Gerrit Grunwald

Westfalenstrasse 93 48165 Münster

mobile: +49 (0)171 1745350 tel: +49 (0)2501 24321 web: www.harmonic-code.org twitter: @hansolo_

Am 04.09.2012 um 22:09 schrieb Mark Heckler notifications@github.com:

Hi Gerrit,

Had a chance to circle back and play with the .svg files a bit and am hitting a roadblock. I'm not heavy into graphics formats/conversions, but I don't see a clean way to incorporate the .svg icons (rather than .jpg files) unless we incorporate an outside library like Batik. I was trying to avoid pulling in anything "non-native". Any ideas? Or am I missing something?

Thanks for any suggestions you may have. I'm off to test some Builder code. ;-)

All the best, Mark

On Tue, Sep 4, 2012 at 12:33 PM, Mark Heckler mark.heckler@gmail.comwrote:

I'll check it out, hopefully this afternoon. Thanks!

Mark

On Tue, Sep 4, 2012 at 12:29 PM, Gerrit Grunwald <notifications@github.com

wrote:

Hi Mark,

Ok, because our friends are a bit late I have pushed the builder to the repo :)

Hope it works, had no time to test it,

Cheers,

Gerrit Grunwald

Westfalenstrasse 93 48165 Münster

  • GERMANY -

mobile: +49 (0)171 1745350 tel: +49 (0)2501 24321 web: www.harmonic-code.org twitter: @hansolo_

Am 04.09.2012 um 19:05 schrieb Mark Heckler notifications@github.com:

Hi Gerrit,

I'm not seeing the attachment, but then, GMail and GVoice are not working quite right today. ??? I don't see them on GitHub either, but I think that may be because you weren't listed as a project contributor. I've fixed that. :-)

Looking forward to getting and testing the Builder! Shoot it my way and I'll push it into the pipeline. And thanks again!

All the best, Mark

P.S. - Jonathan Giles & Tom Eugelink have asked if this could be rolled into JFXtras. I don't see why not...what do you think?

On Tue, Sep 4, 2012 at 2:26 AM, Gerrit Grunwald < notifications@github.com>wrote:

Hi Mark,

Please find attached to this mail a DialogFXBuilder.java file that might be useful to add to your project on github. I have not tested it yet but it should work.

Cheers,

Gerrit

Am 03.09.2012 um 21:34 schrieb Mark Heckler notifications@github.com:

I have SVGs, will get them uploaded. Thanks!

— Reply to this email directly or view it on GitHub.

Gerrit Grunwald

Westfalenstr. 93 48165 Münster Germany

tel : +49 (0)2501 24321 fax : +49 (0)2501 988760 mobile: +49 (0)171 1745350 mail : han.solo@muenster.de web : http://www.harmonic-code.org

— Reply to this email directly or view it on GitHub< https://github.com/hecklerm/DialogFX/issues/1#issuecomment-8254553>.

— Reply to this email directly or view it on GitHub.

— Reply to this email directly or view it on GitHubhttps://github.com/hecklerm/DialogFX/issues/1#issuecomment-8271604.

— Reply to this email directly or view it on GitHub.

mkheck commented 12 years ago

Hi Gerrit,

Ah...okay! I'll upload the .svg files tonight (two are 60x60, two are 48x48); I'll also take a run at it, just for grins. Again graphics aren't my strong suit, but it's time I remedy that. :-)

Thanks, Mark

On Tue, Sep 4, 2012 at 3:38 PM, Gerrit Grunwald notifications@github.comwrote:

Hi Mark,

I think you should use StackPanes to replace the ImageViews and use CSS to add the SVG icons. I will take a look at it tomorrow.

Cheers,

Gerrit Grunwald

Westfalenstrasse 93 48165 Münster

  • GERMANY -

mobile: +49 (0)171 1745350 tel: +49 (0)2501 24321 web: www.harmonic-code.org twitter: @hansolo_

Am 04.09.2012 um 22:09 schrieb Mark Heckler notifications@github.com:

Hi Gerrit,

Had a chance to circle back and play with the .svg files a bit and am hitting a roadblock. I'm not heavy into graphics formats/conversions, but I don't see a clean way to incorporate the .svg icons (rather than .jpg files) unless we incorporate an outside library like Batik. I was trying to avoid pulling in anything "non-native". Any ideas? Or am I missing something?

Thanks for any suggestions you may have. I'm off to test some Builder code. ;-)

All the best, Mark

On Tue, Sep 4, 2012 at 12:33 PM, Mark Heckler mark.heckler@gmail.comwrote:

I'll check it out, hopefully this afternoon. Thanks!

Mark

On Tue, Sep 4, 2012 at 12:29 PM, Gerrit Grunwald < notifications@github.com

wrote:

Hi Mark,

Ok, because our friends are a bit late I have pushed the builder to the repo :)

Hope it works, had no time to test it,

Cheers,

Gerrit Grunwald

Westfalenstrasse 93 48165 Münster

  • GERMANY -

mobile: +49 (0)171 1745350 tel: +49 (0)2501 24321 web: www.harmonic-code.org twitter: @hansolo_

Am 04.09.2012 um 19:05 schrieb Mark Heckler notifications@github.com:

Hi Gerrit,

I'm not seeing the attachment, but then, GMail and GVoice are not working quite right today. ??? I don't see them on GitHub either, but I think that may be because you weren't listed as a project contributor. I've fixed that. :-)

Looking forward to getting and testing the Builder! Shoot it my way and I'll push it into the pipeline. And thanks again!

All the best, Mark

P.S. - Jonathan Giles & Tom Eugelink have asked if this could be rolled into JFXtras. I don't see why not...what do you think?

On Tue, Sep 4, 2012 at 2:26 AM, Gerrit Grunwald < notifications@github.com>wrote:

Hi Mark,

Please find attached to this mail a DialogFXBuilder.java file that might be useful to add to your project on github. I have not tested it yet but it should work.

Cheers,

Gerrit

Am 03.09.2012 um 21:34 schrieb Mark Heckler < notifications@github.com>:

I have SVGs, will get them uploaded. Thanks!

— Reply to this email directly or view it on GitHub.

Gerrit Grunwald

Westfalenstr. 93 48165 Münster Germany

tel : +49 (0)2501 24321 fax : +49 (0)2501 988760 mobile: +49 (0)171 1745350 mail : han.solo@muenster.de web : http://www.harmonic-code.org

— Reply to this email directly or view it on GitHub< https://github.com/hecklerm/DialogFX/issues/1#issuecomment-8254553>.

— Reply to this email directly or view it on GitHub.

— Reply to this email directly or view it on GitHub< https://github.com/hecklerm/DialogFX/issues/1#issuecomment-8271604>.

— Reply to this email directly or view it on GitHub.

— Reply to this email directly or view it on GitHubhttps://github.com/hecklerm/DialogFX/issues/1#issuecomment-8277933.