Little details make the difference.
When you need to quickly develop a prototype, you don't want wasting your time with boring code because of some missing default features ...
The default GUIFileOpenDialog does not let see the end of the path when it's too long ...

Replacing the StaticText box by an EditBox and disabling it (as you don't want to edit it) solves this little problem.
Here is the patch.
This applies to SVN 1055, trunk branch.
CGUIFileOpenDialog.cpp
Code: Select all
12c12
< #include "IGUIStaticText.h"
---
> #include "IGUIEditBox.h"
87,88c87,89
< FileNameText = Environment->addStaticText(0, core::rect<s32>(10, 30, RelativeRect.getWidth()-90, 50), true, false, this);
< FileNameText->setSubElement(true);
---
> FileNameText = Environment->addEditBox(0, core::rect<s32>(10, 30, RelativeRect.getWidth()-90, 50), true, this);
> FileNameText->setSubElement(true);
> FileNameText->setEnabled(false);