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
2a4cd80a
Kaydet (Commit)
2a4cd80a
authored
Ara 22, 2016
tarafından
Maxim Monastirsky
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Fix ToolbarMenu position
Change-Id: I3a6380845687a809e155ebcf8ff8d3b2e5e6a4ec
üst
c9303b98
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
dockmgr.cxx
vcl/source/window/dockmgr.cxx
+3
-3
No files found.
vcl/source/window/dockmgr.cxx
Dosyayı görüntüle @
2a4cd80a
...
@@ -968,11 +968,11 @@ void ImplDockingWindowWrapper::StartPopupMode( ToolBox *pParentToolBox, FloatWin
...
@@ -968,11 +968,11 @@ void ImplDockingWindowWrapper::StartPopupMode( ToolBox *pParentToolBox, FloatWin
mpOldBorderWin
=
nullptr
;
// no border window found
mpOldBorderWin
=
nullptr
;
// no border window found
bool
bAllowTearOff
=
bool
(
nFlags
&
FloatWinPopupFlags
::
AllowTearOff
);
bool
bAllowTearOff
=
bool
(
nFlags
&
FloatWinPopupFlags
::
AllowTearOff
);
bool
b
IsToolBox
=
GetWindow
()
->
GetType
()
=
=
WINDOW_TOOLBOX
;
bool
b
UseStdPopup
=
bAllowTearOff
&&
GetWindow
()
->
GetType
()
!
=
WINDOW_TOOLBOX
;
// the new parent for popup mode
// the new parent for popup mode
VclPtr
<
FloatingWindow
>
pWin
;
VclPtr
<
FloatingWindow
>
pWin
;
if
(
b
AllowTearOff
&&
!
bIsToolBox
)
if
(
b
UseStdPopup
)
pWin
=
VclPtr
<
FloatingWindow
>::
Create
(
mpParent
,
WB_STDPOPUP
);
pWin
=
VclPtr
<
FloatingWindow
>::
Create
(
mpParent
,
WB_STDPOPUP
);
else
else
pWin
=
VclPtr
<
ImplPopupFloatWin
>::
Create
(
mpParent
,
this
,
bAllowTearOff
);
pWin
=
VclPtr
<
ImplPopupFloatWin
>::
Create
(
mpParent
,
this
,
bAllowTearOff
);
...
@@ -988,7 +988,7 @@ void ImplDockingWindowWrapper::StartPopupMode( ToolBox *pParentToolBox, FloatWin
...
@@ -988,7 +988,7 @@ void ImplDockingWindowWrapper::StartPopupMode( ToolBox *pParentToolBox, FloatWin
GetWindow
()
->
mpWindowImpl
->
mnBottomBorder
=
0
;
GetWindow
()
->
mpWindowImpl
->
mnBottomBorder
=
0
;
// position toolbox below the drag grip
// position toolbox below the drag grip
if
(
bIsToolBox
)
if
(
!
bUseStdPopup
)
GetWindow
()
->
SetPosPixel
(
static_cast
<
ImplPopupFloatWin
*>
(
pWin
.
get
()
)
->
GetToolboxPosition
()
);
GetWindow
()
->
SetPosPixel
(
static_cast
<
ImplPopupFloatWin
*>
(
pWin
.
get
()
)
->
GetToolboxPosition
()
);
// reparent borderwindow and window
// reparent borderwindow and window
...
...
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