sc/source/ui/app/inputwin.cxx | 3 ---
1 file changed, 3 deletions(-)
New commits:
commit e757a88f5141a2816d6c69bff5234c9f8802c79a
Author: Thorsten Wagner <[email protected]>
AuthorDate: Mon Aug 26 15:18:51 2019 +0200
Commit: Adolfo Jayme Barrientos <[email protected]>
CommitDate: Thu Sep 5 05:14:26 2019 +0200
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 <[email protected]>
Tested-by: Heiko Tietze <[email protected]>
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();
_______________________________________________
Libreoffice-commits mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits