Messages by huangshazsw

2 topics, 3 messages
Kuix technical support » why can't I render SVGpic ON mainfrmae? help!!!

I have extended a SVGpicture Widget just like picture;

The paintChildrenImpl function as:

protected void paintChildrenImpl(Graphics g) {

ScalableGraphics sg = ScalableGraphics.createInstance();
                            sg.bindTarget(g);
                            svgimage.setViewportWidth(g.getClipWidth()-20);
                            svgimage.setViewportHeight(g.getClipHeight()-10);

                            sg.render(10,5, svgimage);
                            sg.releaseTarget();
                            sg = null;}
                           

my mainfrmae is a GridLayout Frame, when i make the layout as gridlayout(1,1),the SVG can be displayed,

but when I change to gridlayout(2,1), The first SVG can be displayed ,but the seconde can not IN SYMBIAN S60 FP-1 SYSTEM(My test phone is N81);

and I also can make the Desktop's bg-image displayed as svgpic,but I don't know why the mainframe can not?

I am also very confused : the maiframe can display all SVGpics in NOKIA 7310c,also in WTK semulator,BUT CAN'T IN N81;

hope helps ! THANKS!

Kuix technical support » Scrollpane

hi!man

I have copy your scrollPane element to my xml  file, when i had not changed yours ,it can display three area,

and when i changed like this:

<scrollPane>

        <textarea style="font-size:large;font-style:bold;align:center;margin:5 2 2 5">dafs</textarea>

        <textarea style="font-size:large;align:center;margin:5 2 2 5">fasfd</textarea>

        <textarea style="font-size:large; align:center;margin:5 2 2 5">fasfs</textarea>

        <textarea style="font-size:medium; align:center;margin:5 2 2 5">fsafa</textarea>

    </scrollPane>

four areas can all be displayed!

but when i changed it like this:

<scrollPane>

        <textarea style="font-size:large;font-style:bold;align:center;margin:5 2 2 5"> </textarea>

        <textarea style="font-size:large;align:center;margin:5 2 2 5"> </textarea>

        <textarea style="font-size:large; align:center;margin:5 2 2 5"> </textarea>

        <textarea style="font-size:medium; align:center;margin:5 2 2 5"> </textarea>

    </scrollPane>

it can't display anything,

so I suggest you to check about the default text you defined!

also wait for other ideas!!

Kuix technical support » how to zoom-in a pictue

I want to take pictures for scaling in KUIX, How can I do with the picture widget, for example:

change the picture(30.30) to the one (10.10) or (50.50)