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
9e851b69
Kaydet (Commit)
9e851b69
authored
Haz 11, 2013
tarafından
Jan Holesovsky
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
sidebar: Remove the setPosSizePixel hack.
Change-Id: I3c074f0860bf9cb384a7189038a214199a2d7222
üst
3d0a22e8
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
16 deletions
+3
-16
SidebarDialControl.hxx
include/svx/sidebar/SidebarDialControl.hxx
+0
-2
sidebaralignment.ui
sc/uiconfig/scalc/ui/sidebaralignment.ui
+1
-1
SidebarDialControl.cxx
svx/source/sidebar/possize/SidebarDialControl.cxx
+2
-13
No files found.
include/svx/sidebar/SidebarDialControl.hxx
Dosyayı görüntüle @
9e851b69
...
...
@@ -32,8 +32,6 @@ public:
virtual
~
SidebarDialControl
(
void
);
virtual
Size
GetOptimalSize
()
const
;
virtual
void
setPosSizePixel
(
long
nX
,
long
nY
,
long
nWidth
,
long
nHeight
,
sal_uInt16
nFlags
=
WINDOW_POSSIZE_ALL
);
virtual
void
MouseButtonDown
(
const
MouseEvent
&
rMEvt
);
protected
:
...
...
sc/uiconfig/scalc/ui/sidebaralignment.ui
Dosyayı görüntüle @
9e851b69
...
...
@@ -294,7 +294,7 @@
<property
name=
"use_action_appearance"
>
False
</property>
</object>
<packing>
<property
name=
"expand"
>
Fals
e
</property>
<property
name=
"expand"
>
Tru
e
</property>
<property
name=
"fill"
>
True
</property>
<property
name=
"position"
>
0
</property>
</packing>
...
...
svx/source/sidebar/possize/SidebarDialControl.cxx
Dosyayı görüntüle @
9e851b69
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
/*
* This file is part of the LibreOffice project.
*
...
...
@@ -40,9 +41,6 @@ SidebarDialControl::SidebarDialControl (
Init
(
GetOutputSizePixel
());
}
SidebarDialControl
::~
SidebarDialControl
(
void
)
{
}
...
...
@@ -52,12 +50,6 @@ Size SidebarDialControl::GetOptimalSize() const
return
LogicToPixel
(
Size
(
10
,
10
),
MAP_APPFONT
);
}
void
SidebarDialControl
::
setPosSizePixel
(
long
nX
,
long
nY
,
long
nWidth
,
long
nHeight
,
sal_uInt16
nFlags
)
{
long
nMax
=
std
::
max
(
nWidth
,
nHeight
);
DialControl
::
setPosSizePixel
(
nX
,
nY
,
nMax
,
nMax
,
nFlags
);
}
void
SidebarDialControl
::
MouseButtonDown
(
const
MouseEvent
&
rMEvt
)
{
if
(
rMEvt
.
IsLeft
()
)
...
...
@@ -69,9 +61,6 @@ void SidebarDialControl::MouseButtonDown( const MouseEvent& rMEvt )
}
}
void
SidebarDialControl
::
HandleMouseEvent
(
const
Point
&
rPos
,
bool
bInitial
)
{
long
nX
=
rPos
.
X
()
-
mpImpl
->
mnCenterX
;
...
...
@@ -94,4 +83,4 @@ void SidebarDialControl::HandleMouseEvent( const Point& rPos, bool bInitial )
}
}
// end of namespace svx::sidebar
/
/ eof
/
* vim:set shiftwidth=4 softtabstop=4 expandtab: */
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