summaryrefslogtreecommitdiff
path: root/cui
diff options
context:
space:
mode:
Diffstat (limited to 'cui')
-rw-r--r--cui/source/tabpages/chardlg.cxx9
-rw-r--r--cui/uiconfig/ui/charnamepage.ui9
2 files changed, 9 insertions, 9 deletions
diff --git a/cui/source/tabpages/chardlg.cxx b/cui/source/tabpages/chardlg.cxx
index 638643601980..226fe846ee3d 100644
--- a/cui/source/tabpages/chardlg.cxx
+++ b/cui/source/tabpages/chardlg.cxx
@@ -258,15 +258,6 @@ SvxCharNamePage::SvxCharNamePage(weld::Container* pPage, weld::DialogController*
else if (!bShowCTL) m_xCJK_CTL->remove_page("nbCTL");
- // info at 80% font size
- vcl::Font aFont(m_xWestFontTypeFT->get_font());
- Size aSize(aFont.GetFontSize());
- aSize.setHeight(aSize.Height() * 0.8);
- aFont.SetFontSize(aSize);
- m_xWestFontTypeFT->set_font(aFont);
- m_xEastFontTypeFT->set_font(aFont);
- m_xCTLFontTypeFT->set_font(aFont);
-
//In MacOSX the standard dialogs name font-name, font-style as
//Family, Typeface
//In GNOME the standard dialogs name font-name, font-style as
diff --git a/cui/uiconfig/ui/charnamepage.ui b/cui/uiconfig/ui/charnamepage.ui
index c4d3501e696e..54d700ecb094 100644
--- a/cui/uiconfig/ui/charnamepage.ui
+++ b/cui/uiconfig/ui/charnamepage.ui
@@ -309,6 +309,9 @@
<property name="width-chars">30</property>
<property name="max-width-chars">30</property>
<property name="xalign">0</property>
+ <attributes>
+ <attribute name="scale" value="0.8"/>
+ </attributes>
</object>
<packing>
<property name="left-attach">1</property>
@@ -582,6 +585,9 @@
<property name="width-chars">30</property>
<property name="max-width-chars">30</property>
<property name="xalign">0</property>
+ <attributes>
+ <attribute name="scale" value="0.8"/>
+ </attributes>
</object>
<packing>
<property name="left-attach">1</property>
@@ -830,6 +836,9 @@
<property name="width-chars">30</property>
<property name="max-width-chars">30</property>
<property name="xalign">0</property>
+ <attributes>
+ <attribute name="scale" value="0.8"/>
+ </attributes>
</object>
<packing>
<property name="left-attach">1</property>