RE: [hlcoders] AddSection()

2005-07-01 Thread Alfred Reynolds
Check out vgui2/controls/SectionedListPanel.cpp for the implementation.
You cannot hide section headers, it sounds like you really want a
listpanel instead. I you want to keep using SectionedListPanel check out
the code in SectionedListPanel::LayoutPanels() to alter the visibility
of the headers and the y pos of each entry.

- Alfred

Original Message
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of r00t 3:16
Sent: Friday, July 01, 2005 3:32 PM To: hlcoders@list.valvesoftware.com
Subject: [hlcoders] AddSection()

> AddSection adds a default header, is there a way to remove this
> default header? (It is throwing my panel off lol. Also is it possible
> to position the Y pos of the sections ?
> I was looking to see how the AddSection() works but it is just a
> header file.
>
> http://www.totalretribution.com/r00t316/green.JPG
>
> That is a picture..
> Green team should be almost 2 rows up
> http://www.totalretribution.com/r00t316/red.JPG
>
> Red team should be below the green lines but I haven't figured out
> how to adjust Y pos...
>
> Any help would be great.
>
>
> Regards,
> r00t 3:16
> Total Retribution
> http://www.totalretribution.com
>
>
> ___
> To unsubscribe, edit your list preferences, or view the list
> archives, please visit:
> http://list.valvesoftware.com/mailman/listinfo/hlcoders

___
To unsubscribe, edit your list preferences, or view the list archives, please 
visit:
http://list.valvesoftware.com/mailman/listinfo/hlcoders



[hlcoders] AddSection()

2005-07-01 Thread r00t 3:16

AddSection adds a default header, is there a way to remove this default
header? (It is throwing my panel off lol.
Also is it possible to position the Y pos of the sections ?
I was looking to see how the AddSection() works but it is just a header
file.

http://www.totalretribution.com/r00t316/green.JPG

That is a picture..
Green team should be almost 2 rows up
http://www.totalretribution.com/r00t316/red.JPG

Red team should be below the green lines but I haven't figured out how to
adjust Y pos...

Any help would be great.


Regards,
r00t 3:16
Total Retribution
http://www.totalretribution.com


___
To unsubscribe, edit your list preferences, or view the list archives, please 
visit:
http://list.valvesoftware.com/mailman/listinfo/hlcoders