-
-
Notifications
You must be signed in to change notification settings - Fork 23
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
MacOS Building errors #88
Comments
i also do get the same error on an m1 macbook |
Same error.
|
what versions of haxeui-core, haxeui-hxwidgets, hxWidgets and wxWidgets? |
haxeui-core: [1.6.0] and trying to compile on MacBook Pro M2 |
FOUND FIX FOR THIS!!!
|
Great! yeha, its weird how hxcpp doesnt default to 64bit tbh
FYI, you almost certainly want to be using the git versions of haxeui-* and hxWidgets... 1.6 is EXTREMELY old. Although, if its compiling maybe for now "dont touch anything", but just something to keep in mind :) |
I discovered haxe language and hxwidgets a few hours ago. is there guide how to use git versions or how to make basic actual set-up? |
You do:
|
after installing haxeui from git, i having issues with compiling now.
|
Whoops, fixed now in latest git haxeui-hxwidgets |
Here are bugs with default dark theme in macos. main.css has fully commented colors/shadows/etc. when i go light mode, text appears, but Side items menu keeps dark (with black text on it) |
Could be a wxWidgets thing, if you fully restart the application does it persist? |
As you can see, restarting application (in light mode) should fix that. If i restart in dark mode, problem persists. You can understand who is who by text color - in dark mode text is white. |
As i know, there's https://docs.wxwidgets.org/3.0/classwx_system_settings.html which can be used to get system colors. I used it when tried to write code editor implementation in wxpython, so my app follows system colors (even Linux custom theming colors). If i find that code, i'll share it. |
You can use system colours in haxeui stylesheets, but im not sure why its happening in the first place tbh... i dont think haxeui should be setting any colours... unless maybe its just the responsive demo... ... ... ... ? |
Ah, i know whats happening... there is another component in haxeui called "sidebar"... and i think its picking up the styles for that. To confirm can you rename the sidebar in the demo to "sidebar2" (or something), and update the css accordingly... pretty sure it will go away. |
I removed all colours from css. You can examine my main.css attached to previous message. (As main.css.txt) I'll try to rename sidebar to sidebar2, but i think it doesn't help with all white themed except sidebar, while dark theme enabled. |
can you just try and replace the whole of the main.xml with something simpler, like a button in a container, something like: <vbox width="100%" height="100%">
<button text="Button" />
</vbox> I also noticed that the xml in the responsive demo has: These examples are pretty old and are in dire need to updates / rewrites. They were also just meant as an example of a specific part of haxeui, not a base for a real application - which is why they arent going to take "dark mode" into account from the OS |
How to reproduce bug with top overflow: UPD: try to resize using corner diagonal resizers, one-axis resizers are ok |
MacOS errors on 00-Showcase
https://github.com/BushTrain460615/stupid-crash-reporter-errors/blob/main/errors.txt
The text was updated successfully, but these errors were encountered: