From 7f7ac0e998506fb2b19b03ae4f2ef6ef04b87b13 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Mon, 16 Dec 2013 19:51:22 +0300 Subject: fix speechbubble size. --- src/gui/widgets/browserbox.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/gui/widgets/browserbox.h') diff --git a/src/gui/widgets/browserbox.h b/src/gui/widgets/browserbox.h index fd037506b..5a09f60d6 100644 --- a/src/gui/widgets/browserbox.h +++ b/src/gui/widgets/browserbox.h @@ -234,6 +234,9 @@ class BrowserBox final : public gcn::Widget, void setForegroundColorAll(const gcn::Color &color1, const gcn::Color &color2); + int getDataWidth() const + { return mDataWidth; } + private: int calcHeight() A_WARN_UNUSED; @@ -264,6 +267,7 @@ class BrowserBox final : public gcn::Widget, int mPadding; int mNewLinePadding; int mItemPadding; + unsigned int mDataWidth; gcn::Color mHighlightColor; gcn::Color mHyperLinkColor; -- cgit v1.2.3-60-g2f50