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
03e07811
Kaydet (Commit)
03e07811
authored
Ock 09, 2014
tarafından
Caolán McNamara
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
stop condition reversed, sigh
Change-Id: If96d982bf4377eab29a2dfb94b0a453e12450786
üst
d3aad812
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
+6
-6
layout.cxx
vcl/source/window/layout.cxx
+6
-6
No files found.
vcl/source/window/layout.cxx
Dosyayı görüntüle @
03e07811
...
...
@@ -1124,12 +1124,12 @@ void VclGrid::setAllocation(const Size& rAllocation)
//We don't fit and there is no volunteer to be shrunk
if
(
!
nExpandables
&&
rAllocation
.
Width
()
<
aRequisition
.
Width
())
{
//first reduce spacing
, to a min of 3
while
(
nColSpacing
>=
6
)
//first reduce spacing
while
(
nColSpacing
)
{
nColSpacing
/=
2
;
aRequisition
=
calculateRequisitionForSpacings
(
nRowSpacing
,
nColSpacing
);
if
(
aRequisition
.
Width
()
>
=
rAllocation
.
Width
())
if
(
aRequisition
.
Width
()
<
=
rAllocation
.
Width
())
break
;
}
...
...
@@ -1167,12 +1167,12 @@ void VclGrid::setAllocation(const Size& rAllocation)
//We don't fit and there is no volunteer to be shrunk
if
(
!
nExpandables
&&
rAllocation
.
Height
()
<
aRequisition
.
Height
())
{
//first reduce spacing
, to a min of 3
while
(
nRowSpacing
>=
6
)
//first reduce spacing
while
(
nRowSpacing
)
{
nRowSpacing
/=
2
;
aRequisition
=
calculateRequisitionForSpacings
(
nRowSpacing
,
nColSpacing
);
if
(
aRequisition
.
Height
()
>
=
rAllocation
.
Height
())
if
(
aRequisition
.
Height
()
<
=
rAllocation
.
Height
())
break
;
}
...
...
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