![]() |
![]() | ![]() | ![]() | ![]() | ![]() | ![]() | ![]() |
|
Welcome to Vista Forums we are your forum to discuss Windows Vista x64 and x86 systems. Whether you need help or just want to post an idea you have on Vista, this is the forum for you.
br> br> |
| |||||||
![]() |
| | Thread Tools | Display Modes |
| | #1 (permalink) |
| Guest | Aqua button in Avalon/WPF ? Hi, I am trying to get this look for the buttons on my form: http://home.zonnet.nl/epragt/tutoria.../index.jsp.htm For starters, I need to know how to make those round corners. This would mean that no matter the width, the corners should be rounded by a radius equal with half the height. Also, how can I make the background have that white-gray pattern alternate? Thanks, Cosmin. |
My System Specs![]() |
| | #2 (permalink) |
| Guest | RE: Aqua button in Avalon/WPF ? you could use the corner radius property for styling "CosminB [BRT]" wrote: > Hi, > > I am trying to get this look for the buttons on my form: > > http://home.zonnet.nl/epragt/tutoria.../index.jsp.htm > > For starters, I need to know how to make those round corners. This > would mean that no matter the width, the corners should be rounded by a > radius equal with half the height. Also, how can I make the background > have that white-gray pattern alternate? > > Thanks, > Cosmin. > > |
My System Specs![]() |
| | #3 (permalink) |
| Guest | Re: Aqua button in Avalon/WPF ? Does the radius allow for percentage values, or is it just Point (absolute physical size)? Also, for the gel coating, the general gist of what they're doing is overlaying a semi-transparent, gradient-shaded rounded rectangle (or in Apple's case, multiple of them) over the main button & then adding a BlurEffect to the edges |
My System Specs![]() |
| | #4 (permalink) |
| Guest | Re: Aqua button in Avalon/WPF ? Yes, but if the height of the button isn't fixed, then I cannot use round corners, because I don't know the radius in advance. I did manage to get this working by writing some code to implement a converter, but it's not nice. |
My System Specs![]() |
| | #5 (permalink) |
| Guest | Re: Aqua button in Avalon/WPF ? Hi. I saw this thread a few days ago, and it got me motivated to try my hand at an aqua look. I hope you don't mind...here is the result: http://feebdack.com/article.php?id_art=21 As for the rounded corners discussed here and in another thread, I worry that you may be overthinking it. If you want only for the button to stay proportionally shaped at different sizes, you can do things with brushes, or what I did, put the template inside a ViewBox with Stretch set to uniform. This will force your button to keep its shape. Anyway, good luck, have fun, etc. rabidrobot CosminB [BRT] wrote: > Hi, > > I am trying to get this look for the buttons on my form: > > http://home.zonnet.nl/epragt/tutoria.../index.jsp.htm > > For starters, I need to know how to make those round corners. This > would mean that no matter the width, the corners should be rounded by a > radius equal with half the height. Also, how can I make the background > have that white-gray pattern alternate? > > Thanks, > Cosmin. > |
My System Specs![]() |
| | #6 (permalink) |
| Guest | Re: Aqua button in Avalon/WPF ? This looks nice, thank you. ![]() |
My System Specs![]() |
![]() |
| Thread Tools | |
| Display Modes | |
| |
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Aqua, aero... | MicroFox | Vista General | 7 | 11-27-2006 09:30 AM |
| System requirements for Avalon!? | Jochen Kalmbach [MVP] | Avalon | 2 | 09-03-2006 01:36 AM |
| 3D Controls for Avalon | WSJ | Avalon | 2 | 03-13-2006 10:22 PM |
| 3d sphere in avalon | Avalon | 1 | 01-10-2006 03:53 PM | |