diff options
author | Akshay Deep <akshaydeepiitr@gmail.com> | 2016-11-27 04:01:33 +0530 |
---|---|---|
committer | Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de> | 2016-11-30 08:42:05 +0000 |
commit | 70c03ec408360bb1285478b08bd7edcdbb090376 (patch) | |
tree | 0d9de402046bf0e6ce44c8553ca16513006c6bdc /sfx2/source/control/emojiview.cxx | |
parent | 620e99bb9cf81ee9d269ea2c60e66f2be1a7523a (diff) |
Emoji Control: Larger emoji rendering
Change-Id: Iec51d4e73926cf8203638d2ad013ddfdd47d8ee4
Reviewed-on: https://gerrit.libreoffice.org/31256
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
Diffstat (limited to 'sfx2/source/control/emojiview.cxx')
-rw-r--r-- | sfx2/source/control/emojiview.cxx | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/sfx2/source/control/emojiview.cxx b/sfx2/source/control/emojiview.cxx index 6ab877f9d4c2..6494002fa9ef 100644 --- a/sfx2/source/control/emojiview.cxx +++ b/sfx2/source/control/emojiview.cxx @@ -151,6 +151,13 @@ void EmojiView::Populate() } } +void EmojiView::ApplySettings(vcl::RenderContext& rRenderContext) +{ + ThumbnailView::ApplySettings(rRenderContext); + mpItemAttrs->aFontSize.setX(ITEM_MAX_WIDTH - 2*ITEM_PADDING); + mpItemAttrs->aFontSize.setY(ITEM_MAX_HEIGHT - 2*ITEM_PADDING); +} + void EmojiView::MouseButtonDown( const MouseEvent& rMEvt ) { GrabFocus(); |