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
1817746c
Kaydet (Commit)
1817746c
authored
Ock 18, 2012
tarafından
Andras Timar
Kaydeden (comit)
Kohei Yoshida
Ock 19, 2012
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
fdo#44896 accomodate localized text expansion
Signed-off-by:
Kohei Yoshida
<
kohei.yoshida@suse.com
>
üst
9925d802
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
13 additions
and
2 deletions
+13
-2
tpdefaults.cxx
sc/source/ui/optdlg/tpdefaults.cxx
+11
-0
optdlg.src
sc/source/ui/src/optdlg.src
+2
-2
No files found.
sc/source/ui/optdlg/tpdefaults.cxx
Dosyayı görüntüle @
1817746c
...
...
@@ -50,6 +50,17 @@ ScTpDefaultsOptions::ScTpDefaultsOptions(Window *pParent, const SfxItemSet &rCor
rCoreAttrs
.
Get
(
GetWhich
(
SID_SCDOCOPTIONS
)));
mpLocalOptions
.
reset
(
new
ScDocOptions
(
rItem
.
GetDocOptions
()));
long
nTxtW
=
aFtNSheets
.
GetCtrlTextWidth
(
aFtNSheets
.
GetText
()
);
long
nCtrlW
=
aFtNSheets
.
GetSizePixel
().
Width
();
if
(
nTxtW
>=
nCtrlW
)
{
Size
aNewSize
=
aFtNSheets
.
GetSizePixel
();
aNewSize
.
Width
()
+=
(
nTxtW
-
nCtrlW
);
aFtNSheets
.
SetSizePixel
(
aNewSize
);
Point
aNewPoint
=
aEdNSheets
.
GetPosPixel
();
aNewPoint
.
X
()
+=
(
nTxtW
-
nCtrlW
);
aEdNSheets
.
SetPosPixel
(
aNewPoint
);
}
aEdNSheets
.
SetModifyHdl
(
LINK
(
this
,
ScTpDefaultsOptions
,
NumModifiedHdl
)
);
}
...
...
sc/source/ui/src/optdlg.src
Dosyayı görüntüle @
1817746c
...
...
@@ -926,14 +926,14 @@ TabPage RID_SCPAGE_DEFAULTS
FixedText FT_NSHEETS
{
Pos = MAP_APPFONT ( 12 , 16 ) ;
Size = MAP_APPFONT ( 1
2
0 , 8 ) ;
Size = MAP_APPFONT ( 1
1
0 , 8 ) ;
Text [ en-US ] = "Number of worksheets in new document";
};
NumericField ED_NSHEETS
{
HelpID = "sc:NumericField:RID_SCPAGE_CALC:ED_NSHEETS";
Border = TRUE ;
Pos = MAP_APPFONT ( 1
5
0 , 14 ) ;
Pos = MAP_APPFONT ( 1
3
0 , 14 ) ;
Size = MAP_APPFONT ( 25 , 12 ) ;
Minimum = 1 ;
Maximum = 32000 ;
...
...
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