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
45264d8f
Kaydet (Commit)
45264d8f
authored
Mar 29, 2013
tarafından
Rafael Dominguez
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Position view below toolbox and search bar when resizing Template dialog.
Change-Id: Icfafb88218ad10e8729fd966265e1ccc001041e5
üst
ba632715
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
2 deletions
+6
-2
templatedlg.cxx
sfx2/source/doc/templatedlg.cxx
+6
-2
No files found.
sfx2/source/doc/templatedlg.cxx
Dosyayı görüntüle @
45264d8f
...
@@ -364,11 +364,9 @@ void SfxTemplateManagerDlg::Resize()
...
@@ -364,11 +364,9 @@ void SfxTemplateManagerDlg::Resize()
mpActionBar
->
SetPosSizePixel
(
aActionPos
,
aActionSize
);
mpActionBar
->
SetPosSizePixel
(
aActionPos
,
aActionSize
);
mpTemplateBar
->
SetSizePixel
(
aTemplateSize
);
mpTemplateBar
->
SetSizePixel
(
aTemplateSize
);
// Set view position below toolbox
Point
aViewPos
=
maView
->
GetPosPixel
();
Point
aViewPos
=
maView
->
GetPosPixel
();
aViewPos
.
setY
(
nToolbarsHeight
);
aViewPos
.
setY
(
nToolbarsHeight
);
aViewPos
.
setX
(
0
);
aViewPos
.
setX
(
0
);
Size
aThumbSize
(
aWinSize
.
getWidth
(),
aWinSize
.
getHeight
()
-
aViewPos
.
getY
());
// Set search box position and size
// Set search box position and size
Size
aSearchSize
=
mpSearchEdit
->
CalcMinimumSize
();
Size
aSearchSize
=
mpSearchEdit
->
CalcMinimumSize
();
...
@@ -377,6 +375,12 @@ void SfxTemplateManagerDlg::Resize()
...
@@ -377,6 +375,12 @@ void SfxTemplateManagerDlg::Resize()
mpSearchEdit
->
SetSizePixel
(
aSearchSize
);
mpSearchEdit
->
SetSizePixel
(
aSearchSize
);
mpSearchEdit
->
SetPosPixel
(
Point
(
PADDING_DLG_BORDER
,
aViewPos
.
Y
()));
mpSearchEdit
->
SetPosPixel
(
Point
(
PADDING_DLG_BORDER
,
aViewPos
.
Y
()));
if
(
mpSearchEdit
->
IsVisible
())
aViewPos
.
setY
(
aViewPos
.
getY
()
+
mpSearchEdit
->
GetSizePixel
().
getHeight
()
);
// Set view position below toolbox and search box
Size
aThumbSize
(
aWinSize
.
getWidth
(),
aWinSize
.
getHeight
()
-
aViewPos
.
getY
());
maView
->
SetPosSizePixel
(
aViewPos
,
aThumbSize
);
maView
->
SetPosSizePixel
(
aViewPos
,
aThumbSize
);
mpOnlineView
->
SetPosSizePixel
(
aViewPos
,
aThumbSize
);
mpOnlineView
->
SetPosSizePixel
(
aViewPos
,
aThumbSize
);
mpSearchView
->
SetPosSizePixel
(
aViewPos
,
aThumbSize
);
mpSearchView
->
SetPosSizePixel
(
aViewPos
,
aThumbSize
);
...
...
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