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
daa654fb
Kaydet (Commit)
daa654fb
authored
Ock 08, 2014
tarafından
Caolán McNamara
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
GtkComboBox->VclComboBoxNumeric
Change-Id: Iba1416692a619c1f566f26da5b06ed04342057b3
üst
ef683ad8
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
5 deletions
+5
-5
sidebarpossize.ui
svx/uiconfig/ui/sidebarpossize.ui
+1
-1
builder.cxx
vcl/source/window/builder.cxx
+4
-4
No files found.
svx/uiconfig/ui/sidebarpossize.ui
Dosyayı görüntüle @
daa654fb
...
...
@@ -234,7 +234,7 @@
<property
name=
"orientation"
>
vertical
</property>
<property
name=
"spacing"
>
6
</property>
<child>
<object
class=
"
GtkComboBox
"
id=
"rotation:0.00degrees"
>
<object
class=
"
VclComboBoxNumeric
"
id=
"rotation:0.00degrees"
>
<property
name=
"visible"
>
True
</property>
<property
name=
"can_focus"
>
False
</property>
<property
name=
"has_tooltip"
>
True
</property>
...
...
vcl/source/window/builder.cxx
Dosyayı görüntüle @
daa654fb
...
...
@@ -1351,14 +1351,14 @@ Window *VclBuilder::makeObject(Window *pParent, const OString &name, const OStri
if
(
!
sPattern
.
isEmpty
())
{
connectNumericFormatterAdjustment
(
id
,
sAdjustment
);
OString
sUnit
=
extractUnit
(
sPattern
);
FieldUnit
eUnit
=
detectMetricUnit
(
sUnit
);
SAL_INFO
(
"vcl.layout"
,
"making metric box for "
<<
name
.
getStr
()
<<
" "
<<
sUnit
.
getStr
());
connectNumericFormatterAdjustment
(
id
,
sAdjustment
);
MetricBox
*
pBox
=
new
MetricBox
(
pParent
,
nBits
|
WB_BORDER
);
if
(
bDropdown
)
pBox
->
EnableAutoSize
(
true
);
MetricBox
*
pBox
=
new
MetricBox
(
pParent
,
nBits
);
pBox
->
EnableAutoSize
(
true
);
pBox
->
SetUnit
(
eUnit
);
pBox
->
SetDecimalDigits
(
extractDecimalDigits
(
sPattern
));
if
(
eUnit
==
FUNIT_CUSTOM
)
pBox
->
SetCustomUnitText
(
OStringToOUString
(
sUnit
,
RTL_TEXTENCODING_UTF8
));
pWindow
=
pBox
;
...
...
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