Dear Members,
i am entirely new to this forum. i have doubt in image resizing when
the System resolution changes...using qx.ui.basic.Image class...
i am working in a System Resolution of 1024X768 pixels.
i have set an image to one CanvasLayout..
like.,
bodyLayout = new qx.ui.layout
Hello Rajkumar,
Try the following code. Maybe it will allow you to get what you want.
var img = new qx.ui.basic.Image("./hrimages/imaps.gif");
img.set({
left : 0,
top : 0,
right : 0,
bottom :0,
resizeToInner : true,
zIndex : -1000
});
bodyLayout.add(img);
var lbl = new qx
Hello Rajkumar,
Using background images in qooxdoo is based on corresponding CSS
capabilities. The current level of CSS (i.e. the level 2) does not support
stretching of background image. Such option will be available only in CSS
level 3 (see http://www.w3.org/TR/css3-background/) that is the wor
Hi Denis,
Thanks for ur reply.
it works fine. But Image is not expanded automatically.
i.e., Empty spaces are available around the Image.
I need the Image ll be displayed and occupies the whole bodylayout
automatically.(When the resolution changes).
Here is the code I've used...
bodyLayout = new
Hello Rajkumar,
Add the following line to your code:
bodyLayout.setStyleProperty("backgroundRepeat", "no-repeat");
Best wishes,
Denis
deepakraj wrote:
>
> Dear Members,
> i am entirely new to this forum. i have doubt in image resizing
> when the System resolution changes...using qx.