championswimmer / evoluspencil

Automatically exported from code.google.com/p/evoluspencil
0 stars 0 forks source link

Text in labels and textboxes doesn't show after loading a saved file #598

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Create a label or textbox with text in it
2. Save project as .ep
3. Close the software
4. Load the .ep file again, text is lost
5. Text shows again after double-clicking each control

What is the expected output? What do you see instead?
See screenshot. When saving, there was text in all controls shown in the 
screenshot. After loading, it will only appear after doubleclicking in the 
control. The label control currently selected in the screenshot also has some 
text, which doesn't show up.

What version of the product are you using? On what operating system?
I use Pencil 2.0.5 and Windows 7 64-bit in German language.

Please provide any additional information below.

Original issue reported on code.google.com by i...@peerit.de on 28 Oct 2013 at 9:19

Attachments:

GoogleCodeExporter commented 9 years ago
After inspecting the saved file I noticed some weird "font-size: 0px" styles. 
After removing these styles the project opened correctly. The problem seems to 
be in file 
https://code.google.com/p/evoluspencil/source/browse/branches/pencil-2.0/app/con
tent/pencil/stencil/Native.GUI/Definition.xml where the elements are defined 
with "font-size: 0px". Removing the "font-size: 0px" from every element fixed 
the problem for me.

Original comment by rfd...@gmail.com on 6 Feb 2014 at 8:01