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
6e836a56
Kaydet (Commit)
6e836a56
authored
Eyl 09, 2013
tarafından
Caolán McNamara
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
implemented centered button box mode
Change-Id: I17b60440297d4eecca0737f811f6e56cc5bc91ce
üst
11f50dfa
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
0 deletions
+9
-0
layout.cxx
vcl/source/window/layout.cxx
+9
-0
No files found.
vcl/source/window/layout.cxx
Dosyayı görüntüle @
6e836a56
...
@@ -569,6 +569,15 @@ void VclButtonBox::setAllocation(const Size &rAllocation)
...
@@ -569,6 +569,15 @@ void VclButtonBox::setAllocation(const Size &rAllocation)
setPrimaryCoordinate
(
aMainGroupPos
,
nSpacing
);
setPrimaryCoordinate
(
aMainGroupPos
,
nSpacing
);
}
}
break
;
break
;
case
VCL_BUTTONBOX_CENTER
:
if
(
!
aReq
.
m_aMainGroupDimensions
.
empty
())
{
long
nMainPrimaryDimension
=
getPrimaryDimension
(
addSpacing
(
aReq
.
m_aMainGroupSize
,
aReq
.
m_aMainGroupDimensions
.
size
()));
long
nExtraSpace
=
nAllocPrimaryDimension
-
nMainPrimaryDimension
;
setPrimaryCoordinate
(
aMainGroupPos
,
nExtraSpace
/
2
);
}
break
;
default
:
default
:
SAL_WARN
(
"vcl.layout"
,
"todo unimplemented layout style"
);
SAL_WARN
(
"vcl.layout"
,
"todo unimplemented layout style"
);
case
VCL_BUTTONBOX_DEFAULT_STYLE
:
case
VCL_BUTTONBOX_DEFAULT_STYLE
:
...
...
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