rowellkataan / unity-list-box Goto Github PK
View Code? Open in Web Editor NEWUnity UI List Box Control, Drop Down List Control and Progress Bar Control
License: Apache License 2.0
Unity UI List Box Control, Drop Down List Control and Progress Bar Control
License: Apache License 2.0
Hello mate.
I found this lines inside ListBoxControl.Start (line 367)
// RESIZE THE ITEM CONTAINER TO THE WIDTH OF THE SCROLL RECT
if (ContainerRect != null)
ContainerRect.sizeDelta = new Vector2(ScrollRect.rect.width, ScrollRect.rect.height);
You are resizing also the height.
Suddenly, i noticed that my combobox wasn't scrolling properly. I say suddenly, because it was doing well untill 10 minutes ago.
I switched
ContainerRect.sizeDelta = new Vector2(ScrollRect.rect.width, ScrollRect.rect.height);
with
ContainerRect.sizeDelta = new Vector2(ScrollRect.rect.width, ContainerRect.rect.height);
and it is working fine.
Maybe I'm wrong, but maybe i found a bug :)
Best regards
Hi, its me again :)
Only a question: Is it possible to make multiple selection works without the needing of pressing CTRL?
I'm developing for a mobile app and it would be nice.
The approach i have thought is making the list permorms allways as if ctrl was pressed if a editor checkbox is selected (i.e. mobile friendly multiple selection)
Thanks for your time.
Hello mate,
First of all, thanks for the job with the mobile friendly multiple selection thing. Great job :)
Im having an issue with the DropdownListControl:
When i try to refer from code to the DropdownListControl component of the dropdown gameobject it returns null. It is normal since it havent any component called dropdownlistcontrol. It has one called "Dropdown", but i cant refer it from code.
Im doing the same with the combobox, and im having no problem with it.
Thanks for your time :)
Best regards.
Hello, and first of all thanks for your nice job with this project!
I'm having difficulties to resize the main label of the dropdown. The internal labels, ones that show the dropdown items those can be resized perfectly. But when i resize the Label that shows the selected item nothing happens.
I have a vertical layout set to child control size = true
and child force expand = true
, if i set this to false, the background of the label dissapears.
My question is: Is it possible to make the dropdown consistent with the vertical layout functionality?
Thanks for your time, and feel free to ask whatever you need to improve this project.
Best regards.
Hello, and thank you very much for this package.
I was wondering if there is a way I can costumize the way the text appears for each item of the ListBox ?
Like choose the font size and family ?
I want to use it on something that will run at Windows PCs, and the default text gets too blurry at PC resolutions unfortunately, because it uses smaller font size stretched up instead of using a larger one.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.