CHintBox: try to fix truncated chars

Last chars were truncated. Indent and titel text were not considered.
This commit is contained in:
2016-11-11 21:09:25 +01:00
parent 97006c6615
commit 7f5a576795
2 changed files with 11 additions and 5 deletions

View File

@@ -80,7 +80,7 @@ class CHintBox : public CComponentsWindow
virtual void ReSize();
void showTimeOutBar(){enableTimeOutBar();}
int getMaxWidth(const std::string& Text, Font *font, const int& minWidth);
int getMaxWidth(const std::string& Text, const std::string& Title, Font *font, const int& minWidth);
public:
/**CHintBox Constructor