diff options
Diffstat (limited to 'src/gui/chat.cpp')
-rw-r--r-- | src/gui/chat.cpp | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/gui/chat.cpp b/src/gui/chat.cpp index 20065106..031b6811 100644 --- a/src/gui/chat.cpp +++ b/src/gui/chat.cpp @@ -60,6 +60,8 @@ Window(""), mNetwork(network), mTmpVisible(false) setResizable(true); setDefaultSize(0, windowContainer->getHeight() - 123, 600, 123); + setMinWidth(150); + setMinHeight(90); mItemLinkHandler = new ItemLinkHandler(); @@ -80,11 +82,12 @@ Window(""), mNetwork(network), mTmpVisible(false) mScrollArea->setScrollAmount(0, 1); mScrollArea->setOpaque(false); - place(0, 0, mScrollArea, 5, 5); - place(0, 5, mChatInput, 5); + place(0, 0, mScrollArea, 5, 5).setPadding(0); + place(0, 5, mChatInput, 5).setPadding(1); Layout &layout = getLayout(); layout.setRowHeight(0, Layout::AUTO_SET); + layout.setMargin(2); loadWindowState(); |