cegui / cegui

Crazy Eddie's GUI library is a versatile, fast, adjustable, multi-platform, C++ library for creating graphical user interfaces for games and rendering applications
http://cegui.org.uk
MIT License
457 stars 77 forks source link

Data: "Text" property saved twice #1261

Open niello opened 2 years ago

niello commented 2 years ago
        <Window type="TaharezLook/Button" name="BtnTakeAll" >
            <Property name="Area" value="{{0.99989063,-103.95831},{0.99997789,-48},{1,-7.958313},{0.99997866,-16}}" />
            <Property name="Text" value="Take All" />
            <UserString name="Text" value="Take All" />
        </Window>
niello commented 2 years ago

For now it is probably OK to ignore UserString on save if its name is exactly "Text". Need to think of the prefect solution later.