Comments (4)
That makes sense that your button's size should update to whatever you've already input.
Are you using xml to set it up or creating it with code? Can you post a screenshot of your visual glitch and the xml markup and/or script you used to make it?
from flixel-ui.
I'm using code (haven't used XML yet, feels too "static"). I think it doesn't make much sense, because the default button size is something like 100x25 (don't know, just made that number up) and if I use an image that is 300x300, the button is unusable unless I adjust the button size (more than half of the image won't be clickable).
I'll add the screenshot as soon as I get it running again.
from flixel-ui.
Oh I see, I misunderstood. So if the sprite is bigger than the button you want the button to expand to accomodate it... interesting.
Sure, send me a graphic of what you see, along with a description (and/or visual mockup for extra credit!) of what you expected.
from flixel-ui.
Closing for now until I get an update about what the issue is.
from flixel-ui.
Related Issues (20)
- colors ignore alpha
- Can choose width and height of tabMenu when creating programatically HOT 1
- flixel-ui always looks for XML in assets/xml folder
- FlxUI9SliceSprites don't reder properly, even though deafult assets work fine???? HOT 2
- [BUG] FlxUIButton resets sprite to the default when resize and UpOverDown are used. HOT 4
- [FIX] FlxUICursor mouse coordinates do not scroll with camera HOT 1
- FlxInputText on JS crashes with when trying to make text go multiline HOT 4
- FlxUITabMenu not working HOT 2
- Unable to backspace last character on JS target in FlxInputText and FlxUIInputText HOT 1
- XML Issues HOT 7
- Suggestion: XML Schema for UI format
- FlxUICursor: Potential typo warning from Haxe
- Potential typo detected (expected similar values are flixel.addons.ui.SortMethod.ID)
- FlxInputText is not getting focus HOT 2
- Space doesn't work on FlxInputText in html5 HOT 4
- FlxInputText caret does not got below first line
- idk what is this but is from psych engine 0.7.1h source code compile HOT 1
- Chromium browsers on Android only shows numeric input
- FlxUIButton creates incrementally larger graphic keys
- FlxSlider / FlxUISlider hitbox issue HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from flixel-ui.