summaryrefslogtreecommitdiff
path: root/sc/source/ui/app
diff options
context:
space:
mode:
authorThorsten Wagner <thorsten.wagner.4@gmail.com>2019-08-26 15:18:51 +0200
committerAdolfo Jayme Barrientos <fitojb@ubuntu.com>2019-09-05 05:14:26 +0200
commite757a88f5141a2816d6c69bff5234c9f8802c79a (patch)
treea9040bab766b353687e9b816f3ea4b5be56884f2 /sc/source/ui/app
parentebd7af9aebb5b76255aa299dd8047cb4266215a4 (diff)
tdf#127066 Font size of Calc input bar aligned to UI font size
Change-Id: I1f1aa4195c4b4be8987b0686d3f157ecea3fecce Reviewed-on: https://gerrit.libreoffice.org/78140 Tested-by: Jenkins Reviewed-by: Heiko Tietze <heiko.tietze@documentfoundation.org> Tested-by: Heiko Tietze <heiko.tietze@documentfoundation.org>
Diffstat (limited to 'sc/source/ui/app')
-rw-r--r--sc/source/ui/app/inputwin.cxx3
1 files changed, 0 insertions, 3 deletions
diff --git a/sc/source/ui/app/inputwin.cxx b/sc/source/ui/app/inputwin.cxx
index 3d0f598d902f..3d77c561468e 100644
--- a/sc/source/ui/app/inputwin.cxx
+++ b/sc/source/ui/app/inputwin.cxx
@@ -75,7 +75,6 @@ namespace com::sun::star::accessibility { class XAccessible; }
const long THESIZE = 1000000; // Should be more than enough!
const long INPUTLINE_INSET_MARGIN = 2; // Space between border and interior widgets of input line
-const long MIN_FONT_SIZE = 16; // Minimum font size of input line in pixels
const long LEFT_OFFSET = 5; // Left offset of input line
const long BUTTON_OFFSET = 2; // Space between input line and button to expand/collapse
const long MULTILINE_BUTTON_WIDTH = 20; // Width of the button which opens multiline dropdown
@@ -1440,8 +1439,6 @@ ScTextWnd::ScTextWnd(ScTextWndGroup* pParent, ScTabViewShell* pViewSh)
vcl::Font aAppFont = GetFont();
aTextFont = aAppFont;
Size aFontSize = aAppFont.GetFontSize();
- if (aFontSize.Height() < MIN_FONT_SIZE)
- aFontSize.setHeight(MIN_FONT_SIZE);
aTextFont.SetFontSize(PixelToLogic(aFontSize, MapMode(MapUnit::MapTwip)));
const StyleSettings& rStyleSettings = Application::GetSettings().GetStyleSettings();