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
f9c77344
Kaydet (Commit)
f9c77344
authored
Eyl 14, 2014
tarafından
Tomaž Vajngerl
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Make tab label padding dependent on font height.
Change-Id: I7de52945bdf3062174b49e12e2f05075632c7e4a
üst
1a2b2d2c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
tabbar.cxx
svtools/source/control/tabbar.cxx
+4
-2
No files found.
svtools/source/control/tabbar.cxx
Dosyayı görüntüle @
f9c77344
...
@@ -36,7 +36,6 @@
...
@@ -36,7 +36,6 @@
#include <limits>
#include <limits>
#define TABBAR_PADDING 24
#define TABBAR_DRAG_SCROLLOFF 5
#define TABBAR_DRAG_SCROLLOFF 5
#define TABBAR_MINSIZE 5
#define TABBAR_MINSIZE 5
...
@@ -607,7 +606,10 @@ bool TabBar::ImplCalcWidth()
...
@@ -607,7 +606,10 @@ bool TabBar::ImplCalcWidth()
{
{
pItem
->
mbShort
=
false
;
pItem
->
mbShort
=
false
;
}
}
nNewWidth
+=
TABBAR_PADDING
;
// Padding is dependent on font height - bigger font = bigger padding
long
nFontWidth
=
aFont
.
GetHeight
();
nNewWidth
+=
nFontWidth
*
2
;
if
(
pItem
->
mnWidth
!=
nNewWidth
)
if
(
pItem
->
mnWidth
!=
nNewWidth
)
{
{
...
...
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