Quote:
Originally Posted by SAbel
portal[clClan].width = width / 2 - 5
portal[clClan].left = 0
portal[clClan].height = height
|
The clan portal's width is half the width of the template (the whole Clan panel in this case), - 5 pixels.
It's left-most point is at the far left.
It can have all the height it needs.
Quote:
Originally Posted by SAbel
portal[famFamily].width = portal[clClan].width
portal[famFamily].left = portal[clClan].left
portal[famFamily].top = portal[Horizontal].bottom + 15
portal[famFamily].height = height - portal[famFamily].top
|
The family portal has the same width as the clan portal.
And they are left-aligned.
It's top is 15 pixels below the clan portal's bottom.
It's height is the height of the window minus the space the clan portal takes up.