Closed TiZ-HugLife closed 8 years ago
What happens if you remove this line: https://github.com/ianharrigan/hxWidgets/blob/master/samples/00-Showcase/src/Main.hx#L12
Much better! That's an easy catch, I feel silly for not checking for it myself, haha.
To be honest, its my fault really i think i just did it to test it worked, ie 0xFF0000 and then just left it there with a different colour... I noticed similar issues on my linux and mac, ie, it wasnt gray but was white and didnt bother to change it.
Well, at least now we know we can do it!
PS: yes, the "onslaught of issues" is certainly helpful - the definite aim hxWidgets is that it will be community driven as generating the full hxWidgets lib externs / wrappers isnt feasible at this time so the more issues and PRs the better in my book.
PPS: im not quite sure how you dont go blind looking at the screen with that theme! :)
It's very relaxing to my eyes, actually. :)
So this is crappy, if you remove that background color from windows:
That looks like an upstream issue to me.
yeah... Would be nice to somehow fix it though... :/
Probably only a W10 problem. Is it possible to detect W10 and conditionally make the background white?
Ill have to research and see...
Ok, i added PlatformInfo, so can now use: https://github.com/ianharrigan/hxWidgets/commit/0346cf1a91f9f5c47b97bed3e85dd2996a484d54#diff-a1fcf8448c18d2a9b1041ad5e59d5f7eR21
Think this is safe to close?
Subtle, but worth it:
Before:
After:
Yeah, that's definitely better, though I'd hazard a guess that not all versions of windows want a white background. I'd probably keep it to 8 or above. Looks like PlatformInfo has code to check that.
Yeah, its just the sample app of course, so i dont think its a major issue to make everything "perfect". Thats more up to anyone writing a "real" application. The important point is that its possible to distinguish between running platforms and modify the UI accordingly.
Fair counterpoint. I'd say we're good here, then.
See attached image. I don't know if there's something the sample app has to do or something the bindings have to do, but I figured I'd report anyways. I hope the onslaught of issue submissions are more helpful than annoying. :)