ianharrigan / haxeui

IMPORTANT NOTE! This repository is no longer maintained. Please consider the newer version: https://github.com/haxeui/haxeui-core
http://haxeui.org/
392 stars 47 forks source link

ListView cannot handle String with ",". #340

Open notalentgeek opened 8 years ago

notalentgeek commented 8 years ago

Hi Ian, I have a minor issue. Not really important, so do not bother yourself :)).

So I create a Popup object to display list from String array. However the Popup list always treat "," as another array index (resulted in two different list index). Is this intended behavior?

Here I have two screenshots. selection_003 selection_004 Check the last index from the String array. It always treat "," as another array index.

notalentgeek commented 8 years ago

FYI, I did not have any clue on adding new entry in a popup list object. Hence, I forked your lib and added public function GetListObject(){ return _list; } in ListPopupContent.hx line 83 (https://github.com/NoTalentGeek/haxeui/blob/master/haxe/ui/toolkit/controls/popups/ListPopupContent.hx). So that I can add new entry in popup list.

I am not sure if this is related to my issue.