transparent label

We found a problem and would like a solution:

In our application ( just an example ):

Widget B is a label widget with a transparent image, which overlaps a
text widget A.

Case 1:

When B fully hides A, we update widget A 's resource, there is no
redrawing of A in
the screen, because we should see A through B. Widget A only redraw
itself when the
widget B changes a bit position or a size.

Case 2:

When B partially hides A, everything works fine.

Case 3:

If the label widget does not contain any image, every thing works fine.


Thanks a lot.


WeiBing Tong

Aquila Mining Systems Ltd.
1450 City Councillors, Suite 330
Montreal, QC
Canada H3A 2E6
Tel: (514) 874-9917 ext 239
Fax: (514) 874-4005
Email: wbtong@aquilamsl.com

Hi WeiBing,

I have spoken to one of the developer and if you PtDamageWidget on the
Text Widget and its parent it should redraw properly.

Regards
Brenda


WeiBing Tong <wbtong@aquilamsl.com> wrote:

We found a problem and would like a solution:

In our application ( just an example ):

Widget B is a label widget with a transparent image, which overlaps a
text widget A.

Case 1:

When B fully hides A, we update widget A 's resource, there is no
redrawing of A in
the screen, because we should see A through B. Widget A only redraw
itself when the
widget B changes a bit position or a size.

Case 2:

When B partially hides A, everything works fine.

Case 3:

If the label widget does not contain any image, every thing works fine.



Thanks a lot.


WeiBing Tong

Aquila Mining Systems Ltd.
1450 City Councillors, Suite 330
Montreal, QC
Canada H3A 2E6
Tel: (514) 874-9917 ext 239
Fax: (514) 874-4005
Email: > wbtong@aquilamsl.com

Hi, Brenda,

If you wish, try the attached demo:

/demo/src/default/demo test1.gif

Thanks

Wei Bing


Gui Group wrote:

Hi WeiBing,

I have spoken to one of the developer and if you PtDamageWidget on the
Text Widget and its parent it should redraw properly.

Regards
Brenda


WeiBing Tong <> wbtong@aquilamsl.com> > wrote:
We found a problem and would like a solution:

In our application ( just an example ):

Widget B is a label widget with a transparent image, which overlaps a
text widget A.

Case 1:

When B fully hides A, we update widget A 's resource, there is no
redrawing of A in
the screen, because we should see A through B. Widget A only redraw
itself when the
widget B changes a bit position or a size.

Case 2:

When B partially hides A, everything works fine.

Case 3:

If the label widget does not contain any image, every thing works fine.

Thanks a lot.


WeiBing Tong

Aquila Mining Systems Ltd.
1450 City Councillors, Suite 330
Montreal, QC
Canada H3A 2E6
Tel: (514) 874-9917 ext 239
Fax: (514) 874-4005
Email: > wbtong@aquilamsl.com


WeiBing Tong

Aquila Mining Systems Ltd.
1450 City Councillors, Suite 330
Montreal, QC
Canada H3A 2E6
Tel: (514) 874-9917 ext 239
Fax: (514) 874-4005
Email: wbtong@aquilamsl.com