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
eff94128
Kaydet (Commit)
eff94128
authored
Mar 19, 2013
tarafından
Cédric Bosdonnat
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Template Manager: fixed TabStops for the toolbars
Change-Id: Iab2dd8ef71fd84e9d147d90e9cad46d69a8fe650
üst
b6ba0463
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
16 deletions
+4
-16
templatedlg.hxx
sfx2/inc/templatedlg.hxx
+0
-1
templatedlg.cxx
sfx2/source/doc/templatedlg.cxx
+4
-9
templatedlg.src
sfx2/source/doc/templatedlg.src
+0
-6
No files found.
sfx2/inc/templatedlg.hxx
Dosyayı görüntüle @
eff94128
...
...
@@ -130,7 +130,6 @@ private:
TabControl
maTabControl
;
TabPage
maTabPage
;
Control
*
mpToolbars
;
Edit
*
mpSearchEdit
;
ToolBox
*
mpViewBar
;
...
...
sfx2/source/doc/templatedlg.cxx
Dosyayı görüntüle @
eff94128
...
...
@@ -114,11 +114,10 @@ SfxTemplateManagerDlg::SfxTemplateManagerDlg (Window *parent)
:
ModelessDialog
(
parent
,
SfxResId
(
DLG_TEMPLATE_MANAGER
)),
maTabControl
(
this
,
SfxResId
(
TAB_CONTROL
)),
maTabPage
(
&
maTabControl
,
SfxResId
(
TAB_TEMPLATE_MANAGER
)),
mpToolbars
(
new
Control
(
&
maTabPage
,
SfxResId
(
TOOLBARS
))),
mpSearchEdit
(
new
Edit
(
&
maTabPage
,
WB_HIDE
|
WB_BORDER
)),
mpViewBar
(
new
ToolBox
(
mpToolbars
,
SfxResId
(
TBX_ACTION_VIEW
))),
mpActionBar
(
new
ToolBox
(
mpToolbars
,
SfxResId
(
TBX_ACTION_ACTION
))),
mpTemplateBar
(
new
ToolBox
(
mpToolbars
,
SfxResId
(
TBX_ACTION_TEMPLATES
))),
mpViewBar
(
new
ToolBox
(
&
maTabPage
,
SfxResId
(
TBX_ACTION_VIEW
))),
mpActionBar
(
new
ToolBox
(
&
maTabPage
,
SfxResId
(
TBX_ACTION_ACTION
))),
mpTemplateBar
(
new
ToolBox
(
&
maTabPage
,
SfxResId
(
TBX_ACTION_TEMPLATES
))),
mpSearchView
(
new
TemplateSearchView
(
&
maTabPage
)),
maView
(
new
TemplateLocalView
(
&
maTabPage
,
SfxResId
(
TEMPLATE_VIEW
))),
mpOnlineView
(
new
TemplateRemoteView
(
&
maTabPage
,
WB_VSCROLL
,
false
)),
...
...
@@ -240,7 +239,6 @@ SfxTemplateManagerDlg::~SfxTemplateManagerDlg ()
delete
mpTemplateDefaultMenu
;
delete
mpActionMenu
;
delete
mpRepositoryMenu
;
delete
mpToolbars
;
}
void
SfxTemplateManagerDlg
::
setSaveMode
(
bool
bMode
)
...
...
@@ -319,9 +317,6 @@ void SfxTemplateManagerDlg::Resize()
long
nToolbarsHeight
=
std
::
max
(
std
::
max
(
aViewSize
.
getHeight
(),
aActionSize
.
getHeight
()),
aTemplateSize
.
getHeight
());
Size
aToolbarsSize
(
aWinSize
.
getWidth
(),
nToolbarsHeight
);
mpToolbars
->
SetSizePixel
(
aToolbarsSize
);
aActionSize
.
setWidth
(
3
*
aActionSize
.
getWidth
());
aViewSize
.
setWidth
(
aWinSize
.
getWidth
()
-
aActionSize
.
getWidth
()
-
mpViewBar
->
GetPosPixel
().
X
());
aTemplateSize
.
setWidth
(
aWinSize
.
getWidth
());
...
...
@@ -335,7 +330,7 @@ void SfxTemplateManagerDlg::Resize()
// Set view position below toolbox
Point
aViewPos
=
maView
->
GetPosPixel
();
aViewPos
.
setY
(
aToolbarsSize
.
getHeight
()
);
aViewPos
.
setY
(
nToolbarsHeight
);
aViewPos
.
setX
(
0
);
Size
aThumbSize
(
aWinSize
.
getWidth
(),
maTabControl
.
GetTabPageSizePixel
().
getWidth
()
-
aViewPos
.
getY
());
maView
->
SetPosSizePixel
(
aViewPos
,
aThumbSize
);
...
...
sfx2/source/doc/templatedlg.src
Dosyayı görüntüle @
eff94128
...
...
@@ -112,12 +112,6 @@ TabPage TAB_TEMPLATE_MANAGER
Size = MAP_APPFONT( 290, 220 );
Hide = TRUE;
Control TOOLBARS
{
Size = MAP_APPFONT( 290 , 20 );
TabStop = False;
};
Control TEMPLATE_VIEW
{
Pos = MAP_APPFONT( 0, 20 );
...
...
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