KeyWorksRW / wxUiEditor

RAD tool used to create and maintain wxWidgets UI elements.
Apache License 2.0
62 stars 5 forks source link

Change the order of Image Types #1431

Closed Randalphwa closed 4 months ago

Randalphwa commented 4 months ago

In the Property Grid, the Image Type drop down is now:

"Embed", "SVG" "Art" "XPM"

This changes the order of the drop down list of image types accessed in the PropertyGrid panel. In particular, it moves the ART type to after the SVG type. The reason for this is because we need to truncate the array when used in an Image List. Previously, this was starting with an offset of 1 in order to skip ART, but the actual drop down referenced an index of 0 which was the ART property. Since we don't allow Art images to be added to the Image List, this was breaking the property.

Closes #1430