Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
RE: [e4-dev] Declarative UI


Gorkem,  another aspect is that XAML has styling built right in. It's not CSS though.  My understanding is that style information is just properties settable like any other property.  Here's an example from Yves great presentation in the e4 stylin' call:

<Window
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">
        <Window.Resources>
            <Style TargetType="Label">
                <Setter Property="FontSize" Value="16" />
            </Style>
    </Window.Resources>
    <Label Content="Hello“/>
</Window>

http://wiki.eclipse.org/images/d/d2/CSS_Roundup_eface.zip

Regards,
Kevin




"Yves YANG" <yves.yang@xxxxxxxxxxx>
Sent by: e4-dev-bounces@xxxxxxxxxxx

11/11/2008 11:17 AM

Please respond to
E4 Project developer mailing list <e4-dev@xxxxxxxxxxx>

To
"'E4 Project developer mailing list'" <e4-dev@xxxxxxxxxxx>
cc
Subject
RE: [e4-dev] Declarative UI





Without optimization, now we have one eXAML jar size of 95K, since we use interface/implementation packages.
 
Regarding to CSS, we can make an extension to support css and integrate with CSS engine. Such as:
            <Style file=”style.css”/>
 
Best regards
Yves YANG
Soyatec - Eclipse OutSourcing & XAML for java
http://www.soyatec.com
Tel: +33 1 60 13 06 67
Mobile: +33 6 20 74 39 45
Fax: +33 9 58 07 06 67



From: e4-dev-bounces@xxxxxxxxxxx [mailto:e4-dev-bounces@xxxxxxxxxxx] On Behalf Of David Orme
Sent:
Tuesday, November 11, 2008 4:53 PM
To:
E4 Project developer mailing list
Subject:
Re: [e4-dev] Declarative UI

 

Yves,

How big is the XAML runtime?

-Dave Orme
On Nov 11, 2008 8:45 AM, "Gorkem Ercan" <gercan@xxxxxxx> wrote:

Declarative UI is something that we would like to utilize in the
embedded world of eSWT as well.

Actually we had a Nokia internal effort as early as 2005 that had
ended up using XSWT to implement a declarative UI for eSWT. We never
reached the end of it because we did not really have a complete eSWT
implementation on our devices at that time. The size is extremely
important to eSWT. With the XSWT based solution we we were able to run
in less than 100K of additional software. I favor a DOM based model
because we already have the plumbing for DOM available and optimized
on all places (eRCP and MIDP) we are using eSWT.

Although our experiment work was based on XSWT, I do not really favor
it over XAML. One thing that I could not really put in place on my
mind is the relation with CSS. If I recall correctly XAML can include
styling information. Are there already established rules on how XAML
works with CSS. I guess the goal is to be able to use both to form a
single model of the UI.
--

Gorkem

On Tue, Nov 11, 2008 at 11:29 AM, Tom Schindl <tom.schindl@xxxxxxxxxxxxxxx> wrote: > Angelo zerr sc..._______________________________________________
e4-dev mailing list
e4-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/e4-dev


Back to the top