Ogre Version: 1.12.10
Operating System: Win10
Render System: DX11
HI
I have a problem with MyGUi 3.4 replacing the tags in the combobox\listbox items with the texts of language file.
I have open already a ticket on mygui gittub
https://github.com/MyGUI/mygui/issues/216
Just to know, does this problem happened to anyone before? thanks.
[solved] Ogre/MyGui problem with combo\listbox tags replacement
-
- Goblin
- Posts: 211
- Joined: Sat Jan 23, 2016 11:26 am
- x 17
[solved] Ogre/MyGui problem with combo\listbox tags replacement
Last edited by Niubbo on Wed Mar 17, 2021 10:55 pm, edited 1 time in total.
-
- Goblin
- Posts: 211
- Joined: Sat Jan 23, 2016 11:26 am
- x 17
Re: Ogre/MyGui problem with combo\listbox tags replacement
just for info the problem is solved if you change all the setcaption instructions in MyGUI_Listbox.cpp and MyGUI_Combobox.cpp with setCaptionWithReplacing; strange was never done in the original code I suppose there is a reason.
-
- Goblin
- Posts: 211
- Joined: Sat Jan 23, 2016 11:26 am
- x 17
Re: [solved] Ogre/MyGui problem with combo\listbox tags replacement
just an update; Altren suggested to use the instruction at place of change setcaption
else if (_key == "AddItem")
addItem(LanguageManager::getInstance().replaceTags(_value));
the change worked and now is part of original mygui code, so no need to make manual changes.
else if (_key == "AddItem")
addItem(LanguageManager::getInstance().replaceTags(_value));
the change worked and now is part of original mygui code, so no need to make manual changes.