I’m having a few issues trying to use the libraries with the flixel backend (without XML),
I am probably doing something wrong but I don’t know how to fix them.
-
virtual items don’t work properly, when i scroll to fast it crashes,
if i scroll to far then scroll back up the options are just gone and don’t come back,
and the auto size cuts other objects off it does tell me in the output that I didn’t set the size but I don’t know what property that is. -
Windows, windows work fine they are kind of just behind a lot of my objects, not all just some.
-
List View just didn’t have the scroll bar but it had like over 30 objects
-
The dropdown search doesn’t work, all the assets work fine but if I type anything no matter what all of the items disappear, but if I clear the search they all appear correctly again.
Here is some of the logic I made for dropdowns:
public static var albumDropdown:DropDown;
albumDropdown = new DropDown();
albumDropdown.x = timeBar.x + 125;
albumDropdown.y = timeBar.y + albumDropdown.height + timeBar.height;
albumDropdown.width = 125;
albumDropdown.dropdownWidth = 350;
albumDropdown.searchable = false; //try this again later
albumDropdown.moves = true;
albumDropdown.virtual = false;
//albumDropdown.padding = 10;
add(albumDropdown);
albumDropdown.dataSource = ArrayDataSource.fromArray(albums);
albumDropdown.onChange = (_) → {
changeAlbum(albums[albumDropdown.selectedIndex]);
}
window logic:
var themeWindow:Window = new Window();
themeWindow.x = FlxG.mouse.x;
themeWindow.y = FlxG.mouse.y;
themeWindow.title = ‘Theme Editor’;
themeWindow.minimizable = false;
themeWindow.collapsable = false;
WindowManager.instance.addWindow(themeWindow);
var deleteTheme:Button = new Button();
deleteTheme.text = “Delete Selected Theme”;
deleteTheme.color = FlxColor.RED;
deleteTheme.cameras = [haxeUICam];
deleteTheme.onClick = function(e) {
FileSystem.deleteFile(‘assets/themes/$theme’);
}
themeWindow.addComponent(deleteTheme);
I can give more context if needed, Thanks!