haxeui / haxeui-nme Goto Github PK
View Code? Open in Web Editor NEWThe NME backend of the HaxeUI framework -
Home Page: http://haxeui.org
License: MIT License
The NME backend of the HaxeUI framework -
Home Page: http://haxeui.org
License: MIT License
nm build nme.nmml windows
haxe/ui/core/Component.hx:3: characters 8-37 : Type not found : haxe.ui.backend.ComponentImpl
bin/windows/haxe/ApplicationMain.hx:26: lines 26-265 : Defined in this class
cant compile currently need to add return types. if you need a project:
HaxeUITest.zip
haxe/ui/backend/ScreenImpl.hx:67: lines 67-73 : Field addComponent overrides parent class with different or incomplete type
Fix is to add
return component;
...
public override function addComponent(component:Component) {
component.scaleX = Toolkit.scaleX;
component.scaleY = Toolkit.scaleY;
_topLevelComponents.push(component);
container.addChild(component);
onContainerResize(null);
return component;
}
public override function removeComponent(component:Component) {
_topLevelComponents.remove(component);
container.removeChild(component);
return component;
}
...
Clicking and dragging on inner button moves both inner and outer scrollareas. Issue in NME and openfl windows as well as PIXIJS
Not sure why but it appears the inner scrollable area scroll bar isn't appearing
Only inner areas should move
The area will jump to cursor and the back to your desired position
You can use attached project but you will have to put some line breaks in
TextArea Test.zip
Application works in openfl but nme is not compileDoing:
nme test application_nme.xml windows
returns
Error: Could not process argument C:\SDKs\Haxe\haxe\lib\haxeui-core\git
Invalid character: :
TextArea doesnt wrap. Works as expected in HTML target but not in NME or Openfl Windows (or html)
Text should wrap when it meets width
Text continues>
Adding icon to buttons does not cause them to appear when using xml for layout
I was trying to use the nme drawing (Sprite.graphics) and it appeared to work with some issue.
component.graphics.drawRect(0,0,200,200) should draw a 200x200 pixel square
a little bit is shown
I added width and height and nothing showed. However just adding height allowed the box to be shown.
Where mainConent is a ScrollView
var s:Component = new Component();
// s.width = 200;
// s.height = 200;
s.graphics.beginFill(0);
s.graphics.drawRect(0, 0, 200, 200);
s.graphics.endFill();
s.includeInLayout = true;
mainContent.addComponent(s);
windows
I created a ticket at haxenme/nme#469
May need to update HaxeUI-nme at some point?
Mobile compiles fine but scale is 25%(?) of expected. Mostly making this ticket for tracking purposes
prefection
mostly good
NM windows has the issue. Openfl windows & html5 has similar issue (flash works).
Run the application and the dialog box appears without form fields. Click where the form fields should be and they appear.
Textfield appears with out clicking in them
Need to allow http requests for images. Mostly for mobile but openfl has html5 also
I was looking at iconpath of buttons but....
Using included project. Font size of buttons is way to small. It doesn't appear to pick up the CSS when using NME.
-Note
I forced the size to 12 by changing TextDisplayBase at line 103 by adding the trace statements
if (style.fontSize != null) {
format.size = style.fontSize;trace("before="+format.size);format.size=12;trace("now="+format.size);
}
this traces
before=_hx_float(12)
now=12
not sure why the before traces _hx_float may be related to the issue?
This appears to be an NME only issue (ok maybe hxWidgets)
Project
ContinioiusTest.zip
Using any(?) project you cant compile to flash in NME
haxe/ui/backend/TextDisplayBase.hx:132: characters 8-28 : String should be flash.text.TextFormatAlign
example project but I dont think it matters. This may be issue with NME?
Uploading ContinuosTest.zip…
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.