Hello
Do anyone have a quick example of setting up a drop down list? It doesn’t work partially yet, and it will be odd because I want to put at least 16 personalty types.
Vivienne
So far I have
[code]// list view part
UIElement* personaltyUIElement = new UIElement(context_);
UIElement* personaltyUIElements = new UIElement(context_);
ListView* personaltyView = new ListView(context_);
Text* personalty1 = new Text(context_);
personalty1->SetName("Stubborn");
personalty1->SetText("Stubborn");
personaltyView->SetStyleAuto();
personaltyUIElements->AddChild(personalty1);
personaltyView->AddItem(personaltyUIElements);
personaltyUIElement->AddChild(personaltyView);
personaltyUIElement->SetMinSize(0,32);
window_->AddChild(factionselectionUIElement);
window_->AddChild(alienselectionUIElement);
window_->AddChild(genderselectionUIElement);
window_->AddChild(blankUIElement);
window_->AddChild(playerUIElement);
window_->AddChild(playernameinputUIElement);
window_->AddChild(blankUIElement);
window_->AddChild(personaltyUIElement);
window_->AddChild(loginButton);
[/code]