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 /include | |
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 'include')
-rw-r--r-- | include/sfx2/emojicontrol.hxx | 2 | ||||
-rw-r--r-- | include/sfx2/emojiview.hxx | 6 |
2 files changed, 6 insertions, 2 deletions
diff --git a/include/sfx2/emojicontrol.hxx b/include/sfx2/emojicontrol.hxx index 67835cd703d4..fe8a627c94bb 100644 --- a/include/sfx2/emojicontrol.hxx +++ b/include/sfx2/emojicontrol.hxx @@ -18,6 +18,8 @@ #include <sfx2/tbxctrl.hxx> #include <com/sun/star/frame/XFrame.hpp> +#define TAB_FONT_SIZE 15 + class EmojiView; class ThumbnailViewItem; enum class FILTER_CATEGORY; diff --git a/include/sfx2/emojiview.hxx b/include/sfx2/emojiview.hxx index 602fae9e9ec9..30245cfd195b 100644 --- a/include/sfx2/emojiview.hxx +++ b/include/sfx2/emojiview.hxx @@ -13,8 +13,8 @@ #include <sfx2/thumbnailview.hxx> //unicode item defines -#define ITEM_MAX_WIDTH 20 -#define ITEM_MAX_HEIGHT 20 +#define ITEM_MAX_WIDTH 30 +#define ITEM_MAX_HEIGHT 30 #define ITEM_PADDING 5 #define ITEM_MAX_TEXT_LENGTH 10 @@ -73,6 +73,8 @@ protected: virtual void KeyInput( const KeyEvent& rKEvt ) override; + virtual void ApplySettings(vcl::RenderContext& rRenderContext) override; + protected: std::string msJSONData; |