Forum Archive

Icons gone in ui editor for existing pyui files

marcus67

I've got no clue what I did wrong: I tried to do some changes in existing pyui files. Some of them include buttons with images selected from the builtin icon repository. When I try to edit any of the buttons the ui editor shows an empty box and when I click on "image" I get an empty icon list. However, if I add new a button I can choose from the normal list.

The app works fine by the way, meaning it's showing all the buttons.

Can anybody help? Thanks a lot!

AtomBombed

Lol, I just wrote a post discussing the exact same problem... like 30 seconds ago.

JonB

Not sure how to get the images to show in the editor, but I have noticed the editor is placing incorrect image paths in the pyui files.

As a workaround, after inserting the image using the browser, rename the pyui to json, and change the path to be a normal image name.

for instance

u'ks/PythonistaKit.framework/Media/Images/iob/alert_circled_256'
should be 'iob:alert_circled_256'

This at least lets you load the pyui and display it normally... just it won't show up properly in the editor . I have this problem on 20010 beta as well.

AtomBombed

@omz can you fix this in the next update, please? It is a really annoying bug. I used button images a ton.