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
15e88c27
Kaydet (Commit)
15e88c27
authored
Nis 27, 2015
tarafından
Caolán McNamara
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
gtk3: seperate calcs for lists, comboboxes and editboxes
Change-Id: I38d5582e36fda2471a53e48f0611011bef30f5fe
üst
37bb1079
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
1 deletion
+9
-1
gtk3salnativewidgets-gtk.cxx
vcl/unx/gtk3/gdi/gtk3salnativewidgets-gtk.cxx
+9
-1
No files found.
vcl/unx/gtk3/gdi/gtk3salnativewidgets-gtk.cxx
Dosyayı görüntüle @
15e88c27
...
@@ -1091,10 +1091,18 @@ bool GtkSalGraphics::getNativeControlRegion( ControlType nType, ControlPart nPar
...
@@ -1091,10 +1091,18 @@ bool GtkSalGraphics::getNativeControlRegion( ControlType nType, ControlPart nPar
{
{
aEditRect
=
NWGetComboBoxButtonRect
(
nType
,
nPart
,
rControlRegion
);
aEditRect
=
NWGetComboBoxButtonRect
(
nType
,
nPart
,
rControlRegion
);
}
}
else
if
(
(
nType
==
CTRL_EDITBOX
||
nType
==
CTRL_LISTBOX
||
nType
==
CTRL_COMBOBOX
)
&&
nPart
==
PART_ENTIRE_CONTROL
)
else
if
(
nType
==
CTRL_EDITBOX
&&
nPart
==
PART_ENTIRE_CONTROL
)
{
{
aEditRect
=
AdjustRectForTextBordersPadding
(
mpEntryStyle
,
rValue
.
getNumericVal
(),
rControlRegion
);
aEditRect
=
AdjustRectForTextBordersPadding
(
mpEntryStyle
,
rValue
.
getNumericVal
(),
rControlRegion
);
}
}
else
if
(
nType
==
CTRL_LISTBOX
&&
nPart
==
PART_ENTIRE_CONTROL
)
{
aEditRect
=
AdjustRectForTextBordersPadding
(
mpListboxStyle
,
rValue
.
getNumericVal
(),
rControlRegion
);
}
else
if
(
CTRL_COMBOBOX
&&
nPart
==
PART_ENTIRE_CONTROL
)
{
aEditRect
=
AdjustRectForTextBordersPadding
(
mpComboboxStyle
,
rValue
.
getNumericVal
(),
rControlRegion
);
}
else
else
{
{
return
false
;
return
false
;
...
...
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