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
54acc086
Kaydet (Commit)
54acc086
authored
Eki 09, 2012
tarafından
Caolán McNamara
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
default internal-children to visible, default containers to not-shown
Change-Id: I25cd15e586abeeeabfde7539986309b187690320
üst
ae326faf
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
11 additions
and
3 deletions
+11
-3
layout.hxx
vcl/inc/vcl/layout.hxx
+0
-2
builder.cxx
vcl/source/window/builder.cxx
+10
-0
layout.cxx
vcl/source/window/layout.cxx
+1
-1
No files found.
vcl/inc/vcl/layout.hxx
Dosyayı görüntüle @
54acc086
...
...
@@ -53,7 +53,6 @@ public:
,
m_bHomogeneous
(
bHomogeneous
)
,
m_nSpacing
(
nSpacing
)
{
Show
();
}
void
set_spacing
(
int
nSpacing
)
{
...
...
@@ -339,7 +338,6 @@ public:
,
m_bRowHomogeneous
(
false
),
m_bColumnHomogeneous
(
false
)
,
m_nRowSpacing
(
0
),
m_nColumnSpacing
(
0
)
{
Show
();
}
void
set_row_homogeneous
(
bool
bHomogeneous
)
{
...
...
vcl/source/window/builder.cxx
Dosyayı görüntüle @
54acc086
...
...
@@ -945,6 +945,7 @@ bool VclBuilder::sortIntoBestTabTraversalOrder::operator()(const Window *pA, con
void
VclBuilder
::
handleChild
(
Window
*
pParent
,
xmlreader
::
XmlReader
&
reader
)
{
Window
*
pCurrentChild
=
NULL
;
bool
bIsInternalChild
=
false
;
xmlreader
::
Span
name
;
int
nsId
;
...
...
@@ -957,6 +958,10 @@ void VclBuilder::handleChild(Window *pParent, xmlreader::XmlReader &reader)
name
=
reader
.
getAttributeValue
(
false
);
sType
=
OString
(
name
.
begin
,
name
.
length
);
}
else
if
(
name
.
equals
(
RTL_CONSTASCII_STRINGPARAM
(
"internal-child"
)))
{
bIsInternalChild
=
true
;
}
}
if
(
sType
==
"tab"
)
...
...
@@ -981,6 +986,11 @@ void VclBuilder::handleChild(Window *pParent, xmlreader::XmlReader &reader)
if
(
bObjectInserted
)
{
//Internal-children default in glade to not having their visible bits set
//even though they are visible (generally anyway)
if
(
bIsInternalChild
)
pCurrentChild
->
Show
();
//Select the first page if its a notebook
if
(
pCurrentChild
->
GetType
()
==
WINDOW_TABCONTROL
)
{
...
...
vcl/source/window/layout.cxx
Dosyayı görüntüle @
54acc086
...
...
@@ -15,7 +15,7 @@ VclContainer::VclContainer(Window *pParent)
:
Window
(
WINDOW_CONTAINER
)
,
m_bLayoutDirty
(
true
)
{
ImplInit
(
pParent
,
0
,
NULL
);
ImplInit
(
pParent
,
WB_HIDE
,
NULL
);
}
Size
VclContainer
::
GetOptimalSize
(
WindowSizeType
eType
)
const
...
...
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