paragui-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[paragui-users] Issue with dropdown


From: Laurent Baresse
Subject: [paragui-users] Issue with dropdown
Date: Thu, 15 Jun 2006 14:00:26 +0200

Hi,

I've an issue with the PG_DropDown component.
When I have too much element in my DropDown component I don't have a
scrollbar and it seems that the DropList's height inside growth every
time I add a new item.

Is there anybody who have develop a piece of code having a DropDown
component with scrollbar when the list is too large ?

Here is the code :
PG_DropDown* dd = new PG_DropDown(this, PG_Rect(350,478,170,25));
dd->SetEditable(false);
dd->SetAlignment(PG_Label::CENTER);
for (unsigned int i=0; i<50; i++)
{
dd->AddItem("test");
}

Regards,




reply via email to

[Prev in Thread] Current Thread [Next in Thread]