[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re[2]: [paragui-users] Layout and custom widgets.
From: |
taurus |
Subject: |
Re[2]: [paragui-users] Layout and custom widgets. |
Date: |
Mon, 17 Jun 2002 13:15:59 +0100 |
Hello Alexander,
I`ve found out why I couldn`t see child widgets: I gave them global
coordinates, but parent object adds its position to each child.
I think it must be a question to FAQ. :)
i.e.
Q: Why I cannot see child widgets, assigned to a parent one?
A: The child objects coordinates are relative to parent client area,
not screen coordinates, so if you have:
parent.x = 100, parent.y = 100,
child.x = 30, child.y = 30
Child will be blitted to (130,130), not to (30,30) screen coordinates.
Text can be edited :)
Kind regards,
taurus
address@hidden
->> "If you will have a megaphone, you will never have to be alone..."