Skip to content
Projeler
Gruplar
Parçacıklar
Yardım
Yükleniyor...
Oturum aç / Kaydol
Gezinmeyi değiştir
C
core
Proje
Proje
Ayrıntılar
Etkinlik
Cycle Analytics
Depo (repository)
Depo (repository)
Dosyalar
Kayıtlar (commit)
Dallar (branch)
Etiketler
Katkıda bulunanlar
Grafik
Karşılaştır
Grafikler
Konular (issue)
0
Konular (issue)
0
Liste
Pano
Etiketler
Kilometre Taşları
Birleştirme (merge) Talepleri
0
Birleştirme (merge) Talepleri
0
CI / CD
CI / CD
İş akışları (pipeline)
İşler
Zamanlamalar
Grafikler
Paketler
Paketler
Wiki
Wiki
Parçacıklar
Parçacıklar
Üyeler
Üyeler
Collapse sidebar
Close sidebar
Etkinlik
Grafik
Grafikler
Yeni bir konu (issue) oluştur
İşler
Kayıtlar (commit)
Konu (issue) Panoları
Kenar çubuğunu aç
LibreOffice
core
Commits
e748cf70
Kaydet (Commit)
e748cf70
authored
Nis 01, 2014
tarafından
Tomaž Vajngerl
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
vcl: apply font height if defined as "size" attribute in .ui
Change-Id: I28719b16fb47a618420195640f4f75a79ca889ea
üst
a4f09f8c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
0 deletions
+7
-0
window2.cxx
vcl/source/window/window2.cxx
+7
-0
No files found.
vcl/source/window/window2.cxx
Dosyayı görüntüle @
e748cf70
...
...
@@ -1785,6 +1785,13 @@ bool Window::set_font_attribute(const OString &rKey, const OString &rValue)
aFont
.
SetUnderline
(
UNDERLINE_SINGLE
);
SetControlFont
(
aFont
);
}
else
if
(
rKey
==
"size"
)
{
Font
aFont
(
GetControlFont
());
sal_Int32
nHeight
=
rValue
.
toInt32
()
/
1000
;
aFont
.
SetHeight
(
nHeight
);
SetControlFont
(
aFont
);
}
else
{
SAL_INFO
(
"vcl.layout"
,
"unhandled font attribute: "
<<
rKey
.
getStr
());
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment