Reputation: 41
I have a project that I built with the old Codename One UI Designer. It has many 'SpanButtons' that I need to change for 'Buttons'. I don't want to have to do this using the Designer tool as it will involve a lot of work. Which files should I manually edit to make the change?
Upvotes: 1
Views: 120
Reputation: 52770
This wouldn't be much simpler with the old designer...
You can migrate to the new GUI builder which will be a lot of work.
Alternatively you can try this but a word of warning you would want to backup everything...
Turn on File
-> XML Team Mode
then save and close the designer. Open all the relevant .ui
files under the res directory and edit them appropriately.
Open the top level XML file of the resource file (usually theme.xml
) and set the attribute useXmlUI=true
in the top tag.
Finally reopen the res file in the designer and save.
Upvotes: 1