Google Chrome-like Navigator?

Topics related to the Krypton Navigator.

Moderators: Phil Wright, Chris Porter

Google Chrome-like Navigator?

Postby Judah » Fri Sep 05, 2008 4:00 am

Google's Chrome web browser has a minimalistic look and feel to it:
Image

Out of curiosity, can this be done with the Navigator? I see some difficulties:

The tab style can be accomplished, but the rounding of the corners isn't something that's possible.
The close button on the tab doesn't appear to be possible.
The "new tab" button that appears after the tab doesn't appear to be possible.

Any other issues/observations?
Judah
 
Posts: 98
Joined: Tue Jul 18, 2006 4:58 am

Re: Google Chrome-like Navigator?

Postby Chris Porter » Fri Sep 05, 2008 4:27 am

As the Navigator sits right now, you will have issues with the points you posted. If you own the source code you should be able to custom design the Navigator as you see fit.

That said, Phil has discussed adding support for buttons on the tab (the close button) and could probably be convinced to create a new Navigator style like Google Chrome. Phil, what would a new Navigator style entail?

We also might be able to talk him into a form tab list trailing ButtonSpec for creating new tabs. This functionality is in both Chrome and IE and wouldn't be much of a change from the Navigator ButtonSpecs that you can add in right now. I tried using Near for the Edge property but it prefixes the Tab list. Phil, could we get some additional control so the ButtonSpec could be "Far" but aligned left?

This topic made me think about drag and drop of KryptonPages between KryptonNavigators. I don't know if this is documented somewhere or if someone has posted on this before but I did get it working. If it hasn't been posted before, let me know and I'll write up a short document on how I made this work.
Chris Porter
 
Posts: 714
Joined: Fri Oct 12, 2007 5:39 am
Location: Oklahoma City, OK, US

Re: Google Chrome-like Navigator?

Postby Waescher » Fri Sep 05, 2008 4:30 am

Hi,

try using the SmoothEqual-tabstyle (plus OneNote) to get your tabs look a little bit like the chrome ones.
Image
If you make them a little bit wider they look pretty similar. Perhaps you can play with the palette designer to get the perfect look ;)

The closebuttons are on the wishlist for the navigator and currently not implementet.

@Chris: Drag&Drop of pages is currently not supported, but if you check the blog, you'll see, that Phil has done that in the KryptonWorkspace (and so I think with the underlying KryptonNavigator).
Waescher
 
Posts: 219
Joined: Thu Jun 14, 2007 10:11 pm
Location: Germany

Re: Google Chrome-like Navigator?

Postby vesuvius » Fri Sep 05, 2008 4:45 am

You can get the slanting, just look in the tab boder style example in the toolkit

Image

you can also add button specs

Image

I don't think it'd be too difficult to have a "NearTab" option that allows the button spec to be left or right

Only other thing is to draw a close button in the tab that can handle events. I think you are halfway there Judah (wiht the present toolkit), if people ask nicely enough, maybe this may be added to the wishlist. I think it'd be cool!
vesuvius
 
Posts: 582
Joined: Thu Aug 16, 2007 8:38 pm
Location: Yorkshire, England

Re: Google Chrome-like Navigator?

Postby vesuvius » Fri Sep 05, 2008 4:51 am

while I'm at it, Google Chrome theme Waesher?
vesuvius
 
Posts: 582
Joined: Thu Aug 16, 2007 8:38 pm
Location: Yorkshire, England

Re: Google Chrome-like Navigator?

Postby Judah » Fri Sep 05, 2008 5:26 am

vesuvius,

You can get the slant style, but it's not rounded.

As for button specs, we'd need them on the tabs themselves.
Judah
 
Posts: 98
Joined: Tue Jul 18, 2006 4:58 am

Re: Google Chrome-like Navigator?

Postby Chris Porter » Fri Sep 05, 2008 8:15 am

Waescher wrote:@Chris: Drag&Drop of pages is currently not supported, but if you check the blog, you'll see, that Phil has done that in the KryptonWorkspace (and so I think with the underlying KryptonNavigator).


I have been reading on the workspace since Phil initially posted on it. In the interim or if someone just wanted to move a page between 2 navigators without the full workspace setup, my code would do it. Its really wasn't too difficult and was a proof of concept for me while I was typing my reply in this thread. I'll try to format out the code a bit cleaner and make a post in the Snippets forum.

vesuvius wrote:while I'm at it, Google Chrome theme Waesher?


I would LOVE to have something like this as an available theme. I might even break into the source code a bit to see what it would take to do rounded+slanted tabs. Google Chrome has me pretty excited and I think it would be a cool theme for the Krypton components to be able to use. If you guys group up to work on something like this let me know and I'll try to contribute.
Chris Porter
 
Posts: 714
Joined: Fri Oct 12, 2007 5:39 am
Location: Oklahoma City, OK, US

Re: Google Chrome-like Navigator?

Postby Phil Wright » Fri Sep 05, 2008 12:01 pm

I have not played with the Google browser yet but looking at the picture I would say...

1, There is no tab style that exactly matchs it at the moment but it should be fair easy for me to add a new one that looks about the same. I have added this to the wish list for the Navigator.

2, You cannot add per-page button specs at the moment but I have it on the wish list and it is certainly a doable feature.

3, You can already get a tab that is used to add new pages. Check out the 'Krypton Explorer/Navigator/User Page Creation' sample. It shows the last page which is used to create new pages each time it is clicked.

Issues 1 and 2 will not be possible for the next release as I am now feature complete and writing the documentation for it. I expect a Beta for version 3.0 of Krypton in a couple of weeks.
Phil Wright
Site Admin
 
Posts: 2720
Joined: Thu Apr 13, 2006 2:55 pm
Location: Melbourne, Australia

Re: Google Chrome-like Navigator?

Postby Chris Porter » Fri Sep 05, 2008 5:04 pm

I started building a Navigator TabBorderStyle to emulate the Google Chrome tab design. It still needs some work but I think it is looking pretty good:

Image

And to show its not a modified screenshot:

Image
Chris Porter
 
Posts: 714
Joined: Fri Oct 12, 2007 5:39 am
Location: Oklahoma City, OK, US

Re: Google Chrome-like Navigator?

Postby Waescher » Fri Sep 05, 2008 6:25 pm

Wow Chris! This style looks fantastic! :D

vesuvius wrote:while I'm at it, Google Chrome theme Waesher?

Let's see what I can do. Please give me some time - I'm very busy at the moment ...
Waescher
 
Posts: 219
Joined: Thu Jun 14, 2007 10:11 pm
Location: Germany

Re: Google Chrome-like Navigator?

Postby Waescher » Fri Sep 05, 2008 6:57 pm

I AM busy ... but I just can't keep my hands off ... :D

Just a little approach with the Krypton-drawing-routines - not exactly what I wanted to get (the colors (pressed) aren't perfect by now).
Image

This will look better - I promise :wink:
Waescher
 
Posts: 219
Joined: Thu Jun 14, 2007 10:11 pm
Location: Germany

Re: Google Chrome-like Navigator?

Postby vesuvius » Fri Sep 05, 2008 8:41 pm

Very exciting, I cannot wait for the fuller versions. Remember that Chrome is still beta so some thing s may change.

Sterling work
vesuvius
 
Posts: 582
Joined: Thu Aug 16, 2007 8:38 pm
Location: Yorkshire, England

Re: Google Chrome-like Navigator?

Postby Waescher » Fri Sep 05, 2008 10:10 pm

first improvement ... still not good enough :x
Image

*UPDATE* -> I made a comparison with the same buttonsize and -icon (my icon does not light up when tracking in this sample)
Image
Last edited by Waescher on Sat Sep 06, 2008 12:24 am, edited 1 time in total.
Waescher
 
Posts: 219
Joined: Thu Jun 14, 2007 10:11 pm
Location: Germany

Re: Google Chrome-like Navigator?

Postby Chris Porter » Fri Sep 05, 2008 11:11 pm

Waescher wrote:Wow Chris! This style looks fantastic! :D

Thank you, I've only played with GDI graphics one time years ago so I was very pleased when this worked.

Waescher wrote:I AM busy ... but I just can't keep my hands off ... :D

I hear you on that. I don't know what it is, but Google Chrome is such a warm UI that I feel drawn to it, and it is so exciting to be able to create something so close in such a short time.

The buttons are looking wonderful and I can't wait to see what you are able to get them to do. :D
Chris Porter
 
Posts: 714
Joined: Fri Oct 12, 2007 5:39 am
Location: Oklahoma City, OK, US

Re: Google Chrome-like Navigator?

Postby David35 » Fri Sep 05, 2008 11:44 pm

GO CHRIS, THIS IS FANTASTIC!!! :D
David35
 
Posts: 48
Joined: Wed Jul 09, 2008 1:30 am

Re: Google Chrome-like Navigator?

Postby Judah » Fri Sep 05, 2008 11:55 pm

Chris and Waescher, brilliant job both of you! I love it!
Judah
 
Posts: 98
Joined: Tue Jul 18, 2006 4:58 am

Re: Google Chrome-like Navigator?

Postby David35 » Sat Sep 06, 2008 12:46 am

GO WAESCHER! I'd use this as soon as its done, this is awesome!
David35
 
Posts: 48
Joined: Wed Jul 09, 2008 1:30 am

Re: Google Chrome-like Navigator?

Postby rfrancisco » Mon Sep 08, 2008 10:45 am

Same here. Keep up the good work
rfrancisco
 
Posts: 136
Joined: Thu Jun 21, 2007 7:03 am

Re: Google Chrome-like Navigator?

Postby David35 » Mon Sep 08, 2008 9:14 pm

It was all going to so well and then this post went quiet, guys please finish your amazing work and let us have the code, thanks. :mrgreen:
David35
 
Posts: 48
Joined: Wed Jul 09, 2008 1:30 am

Re: Google Chrome-like Navigator?

Postby Waescher » Mon Sep 08, 2008 10:17 pm

One thing I learned with my Chrome-Palette is that it'll be very difficult to create a outstanding UI with it. Just replace a Palette to the Chrome-one won't result in the best UI ever, I'm afraid :|
You may very come close to the Chrome-Browser - if you use it the way Google does. But I don't think that this palette will fit in every case. Just think of the rounded buttons, etc.

We'll see ... in near future
Waescher
 
Posts: 219
Joined: Thu Jun 14, 2007 10:11 pm
Location: Germany

Next

Return to Krypton Navigator

Who is online

Users browsing this forum: No registered users and 1 guest