Styling with hxWidgets

Hey Ian,

i am trying to style with a CSS-File but i try to compile i get the error:

Error: MainForm.cpp
./src/formular/MainForm.cpp(306): error C2026: string too big, trailing characters truncated

The complete stylesheet is compiled to one line in the “MainForm.cpp” and this is too long for one line.
Is there a workaround or is this a bug?

Cheers,
Domi

Oh wow, thats interesting… how big is the css file?? Can you provide the css file and the app?

Cheers,
Ian

The css file is about 430 lines of code.

Here is a minimal testcase with the css file:

https://drive.google.com/file/d/1MfEDTsJMVTBSKRUdrpDa0s7YXHISrcG1/view?usp=sharing

Cheers,
Domi

1 Like