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
f29c4dca
Kaydet (Commit)
f29c4dca
authored
Ara 27, 2011
tarafından
Jan Holesovsky
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Thanks to Ivan Timofeev, fix the 'Preview' checkbox in 'Indexes and Tables...'
üst
ac6b7001
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
5 deletions
+4
-5
cnttab.src
sw/source/ui/index/cnttab.src
+1
-1
tabdlg.cxx
vcl/source/window/tabdlg.cxx
+3
-4
No files found.
sw/source/ui/index/cnttab.src
Dosyayı görüntüle @
f29c4dca
...
...
@@ -106,7 +106,7 @@ TabDialog DLG_MULTI_TOX
};
CheckBox CB_SHOWEXAMPLE
{
Size = MAP_APPFONT (
200
, 10 ) ;
Size = MAP_APPFONT (
45
, 10 ) ;
Text [ en-US ] = "Preview";
};
Text [ en-US ] = "Insert Index/Table";
...
...
vcl/source/window/tabdlg.cxx
Dosyayı görüntüle @
f29c4dca
...
...
@@ -61,12 +61,11 @@ void TabDialog::ImplPosControls()
pTabControl
=
(
TabControl
*
)
pChild
;
else
if
(
pTabControl
)
{
long
nTxtWidth
=
pChild
->
GetCtrlTextWidth
(
pChild
->
GetText
(
)
);
nTxtWidth
+=
IMPL_EXTRA_BUTTON_WIDTH
;
Size
aOptimalSize
(
pChild
->
GetOptimalSize
(
WINDOWSIZE_PREFERRED
)
);
long
nTxtWidth
=
aOptimalSize
.
Width
()
;
if
(
nTxtWidth
>
aCtrlSize
.
Width
()
)
aCtrlSize
.
Width
()
=
nTxtWidth
;
long
nTxtHeight
=
pChild
->
GetTextHeight
();
nTxtHeight
+=
IMPL_EXTRA_BUTTON_HEIGHT
;
long
nTxtHeight
=
aOptimalSize
.
Height
();
if
(
nTxtHeight
>
aCtrlSize
.
Height
()
)
aCtrlSize
.
Height
()
=
nTxtHeight
;
nDownCtrl
++
;
...
...
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