Hi Jon,
Jon Danao wrote:
> Hi Olivier!
>
> ---------------------------------------
> You don't have to place it that far away! -0.1 should do.
> In general it's a good practice to first add the new widget to its
> parent controller's widget and then modify its size/position properties.
> Since sizes are relatives, you could just set the size of your image to
> (1.0, 1.0) and its position to (0.0, 0.0, -0.1).
>
> ** Yep, as Michal mentioned, its not enough. With -0.1 on the z-axis,
> only 1 icon appears. Others are behind the image plane. Since my z
> position is -400, background image becomes smaller because of vanishing
> point. 1.6 image size is ideal to fill up the screen. The new_coord
> variable is a way to compute the offset along x and y position. It
> occurred to me that when I resize/scale the image, it is not centered.
Ok I got it. Still -400 looks quite far away, but since it just works,
just ignore my remark.
> ---------------------------------------
> In general it's a good practice to first add the new widget to its
> parent controller's widget and then modify its size/position properties.
>
> ** I dont get it. How do I do this? What do you mean?
self.wallpaper = Image()
self.widget.add(self.wallpaper)
and then modify the properties of self.wallpaper.
> ---------------------------------------
> One stupid question: did you copy over the image file
> ('wallpaper_02.png') to poblesec/theme?
>
> **Yes I did.
>
> ---------------------------------------
> I don't know how you are developing on linux but I advise you to use the
> bzr branch at lp:elisa (see http://elisa.fluendo.com/participate/, the
> "Getting started" section).
>
> **I'll try this one.
>
> ---------------------------------------
> Thank you very much for the help. Eventually, my goal is to create a
> totally different interface for Elisa. I'd like to know how to get
> started on this.
Keep us posted with your progress!
We are currently writing documentation for contributors to create new
plugins easily, you may be interested by this. It's to be published very
soon and will be advertised on this mailing list.
> Cheers!
>
> Jon Danao
> danao.org <http://danao.org>
Cheers,
Olivier