diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/network/network_content_gui.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/network/network_content_gui.cpp b/src/network/network_content_gui.cpp index 6f15cbc0a..06ed8a047 100644 --- a/src/network/network_content_gui.cpp +++ b/src/network/network_content_gui.cpp @@ -476,11 +476,13 @@ public: */ void DrawDetails(const Rect &r) const { - static const int DETAIL_TITLE_HEIGHT = 50; ///< Number of pixels for the title static const int DETAIL_LEFT = 5; ///< Number of pixels at the left static const int DETAIL_RIGHT = 5; ///< Number of pixels at the right static const int DETAIL_TOP = 5; ///< Number of pixels at the top + /* Height for the title banner */ + int DETAIL_TITLE_HEIGHT = 5 * FONT_HEIGHT_NORMAL; + /* Create the nice grayish rectangle at the details top */ GfxFillRect(r.left + 1, r.top + 1, r.right - 1, r.top + DETAIL_TITLE_HEIGHT, 157); DrawString(r.left + WD_INSET_LEFT, r.right - WD_INSET_RIGHT, r.top + FONT_HEIGHT_NORMAL + WD_INSET_TOP, STR_CONTENT_DETAIL_TITLE, TC_FROMSTRING, SA_CENTER); |