KeyWorksRW / wxUiEditor

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

Display relative base_file path if specified in the project file #1462

Closed KeyWorksRW closed 4 months ago

KeyWorksRW commented 5 months ago

Description:

The base_file property only shows the filename which can be a bit confusing if the file is being generated in a non-default directory. The information is there, it's being saved in the project file, but it's not being displayed in the UI.

Related to this, in the wxUiEditor project, the Custom Property Editors folder should specify the customprops/ folder rather than being left blank. All the files in this folder that are currently being generated in the wxui/ should be moved/generated in the customprops/ folder. Note that this should be done after the fix to display the folder if not in the default directory, since if the node is in a folder that specifies the output directory, then the base_file property should not display the output location unless it's different from the folder location.

KeyWorksRW commented 5 months ago

Hmm, there's an additional problem in that I cannot change the relative folder after it's initially generated.