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
5118e421
Kaydet (Commit)
5118e421
authored
Haz 17, 2013
tarafından
Cao Cuong Ngo
Kaydeden (comit)
Cédric Bosdonnat
Eyl 02, 2013
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
CMIS properties dialog
Fixed type width Change-Id: I0afbfcb33539533269f2867972a8ab71e6dadef7
üst
145aa21e
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
dinfdlg.cxx
sfx2/source/dialog/dinfdlg.cxx
+3
-2
No files found.
sfx2/source/dialog/dinfdlg.cxx
Dosyayı görüntüle @
5118e421
...
...
@@ -2211,7 +2211,7 @@ void CmisPropertiesYesNoButton::Resize()
// struct CmisPropertyLine ---------------------------------------------
CmisPropertyLine
::
CmisPropertyLine
(
Window
*
pParent
)
:
m_aName
(
pParent
,
SfxResId
(
SFX_CMIS_PROPERTY_
TYP
E
)
),
m_aName
(
pParent
,
SfxResId
(
SFX_CMIS_PROPERTY_
NAM
E
)
),
m_aType
(
pParent
,
SfxResId
(
SFX_CMIS_PROPERTY_TYPE
)
),
m_aValueEdit
(
pParent
,
SfxResId
(
SFX_CMIS_ED_PROPERTY_VALUE
),
this
),
m_aDateField
(
pParent
,
SfxResId
(
SFX_CMIS_FLD_DATE
),
this
),
...
...
@@ -2329,7 +2329,8 @@ void CmisPropertiesWindow::InitControls( HeaderBar* pHeaderBar, const ScrollBar*
const
long
nOffset
=
4
;
const
long
nScrollBarWidth
=
pScrollBar
->
GetSizePixel
().
Width
();
const
long
nButtonWidth
=
nScrollBarWidth
+
nOffset
;
long
nTypeWidth
=
m_aType
.
CalcMinimumSize
().
Width
()
+
(
2
*
nOffset
);
long
nTypeWidth
=
m_aValueEdit
.
CalcMinimumSizeForText
(
CMIS_TYPE_DATETIME
).
Width
(
)
+
(
2
*
nOffset
);
long
nFullWidth
=
pHeaderBar
->
GetSizePixel
().
Width
();
long
nItemWidth
=
(
nFullWidth
-
nTypeWidth
-
nButtonWidth
)
/
2
;
pHeaderBar
->
SetItemSize
(
HI_NAME
,
nItemWidth
);
...
...
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