TheRudeGentleman / dwarftherapist

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

Text alignment inconsistency in custom profession pane #474

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Open the custom profession pane (does not matter if it is docked or floating)
2. Create a custom profession with no icon, the text will be aligned to the 
left side
3. Add an icon to the profession, the name will be indented to allow space for 
the icon
4. Edit the profession and remove the icon, the icon will be removed by the 
text will remain indented
5. Oddly enough you will also see this if you do an export/import even to a 
separate Therapist install

What is the expected output? What do you see instead?

I would expect that the profession when initially created would include enough 
indent space to accommodate the icon. Either that or the text would be adjusted 
back to the left when the icon is removed. (Personally I think it would look 
better to just have the text indented to begin with).

What version of the product are you using? On what operating system?

v0.6.12 - branch version 21.2 (packaged with LNPr52)

Thank you for taking the time to build such a great utility.

Original issue reported on code.google.com by gder...@gmail.com on 2 May 2014 at 9:19

Attachments:

GoogleCodeExporter commented 8 years ago
Sorry, I just noticed that the professions aligned further to the left seem to 
have random icon IDs in the export file. All of the professions that were 
assigned an icon at one point and then had it removed have an icon_id = -1.

I've attached a copy of the file.

Original comment by gder...@gmail.com on 2 May 2014 at 9:25