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
1054eb97
Kaydet (Commit)
1054eb97
authored
Eki 14, 2016
tarafından
Caolán McNamara
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
provide another fallback
Change-Id: I1438986674f7b4edb015f436bcaf7f07fd61d778
üst
edc7a669
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
gtk3salnativewidgets-gtk.cxx
vcl/unx/gtk3/gtk3salnativewidgets-gtk.cxx
+3
-2
No files found.
vcl/unx/gtk3/gtk3salnativewidgets-gtk.cxx
Dosyayı görüntüle @
1054eb97
...
@@ -680,6 +680,8 @@ void GtkSalGraphics::PaintSpinButton(GtkStyleContext *context,
...
@@ -680,6 +680,8 @@ void GtkSalGraphics::PaintSpinButton(GtkStyleContext *context,
cairo_translate
(
cr
,
rControlRectangle
.
Left
(),
rControlRectangle
.
Top
());
cairo_translate
(
cr
,
rControlRectangle
.
Left
(),
rControlRectangle
.
Top
());
}
}
#define FALLBACK_ARROW_SIZE 11 * 0.85
Rectangle
GtkSalGraphics
::
NWGetComboBoxButtonRect
(
ControlType
nType
,
Rectangle
GtkSalGraphics
::
NWGetComboBoxButtonRect
(
ControlType
nType
,
ControlPart
nPart
,
ControlPart
nPart
,
Rectangle
aAreaRect
)
Rectangle
aAreaRect
)
...
@@ -691,7 +693,7 @@ Rectangle GtkSalGraphics::NWGetComboBoxButtonRect( ControlType nType,
...
@@ -691,7 +693,7 @@ Rectangle GtkSalGraphics::NWGetComboBoxButtonRect( ControlType nType,
GtkBorder
padding
;
GtkBorder
padding
;
gtk_style_context_get_padding
(
mpButtonStyle
,
gtk_style_context_get_state
(
mpButtonStyle
),
&
padding
);
gtk_style_context_get_padding
(
mpButtonStyle
,
gtk_style_context_get_state
(
mpButtonStyle
),
&
padding
);
gint
nArrowWidth
;
gint
nArrowWidth
=
FALLBACK_ARROW_SIZE
;
gtk_style_context_get
(
mpComboboxButtonArrowStyle
,
gtk_style_context_get
(
mpComboboxButtonArrowStyle
,
gtk_style_context_get_state
(
mpComboboxButtonArrowStyle
),
gtk_style_context_get_state
(
mpComboboxButtonArrowStyle
),
"min-width"
,
&
nArrowWidth
,
nullptr
);
"min-width"
,
&
nArrowWidth
,
nullptr
);
...
@@ -726,7 +728,6 @@ Rectangle GtkSalGraphics::NWGetComboBoxButtonRect( ControlType nType,
...
@@ -726,7 +728,6 @@ Rectangle GtkSalGraphics::NWGetComboBoxButtonRect( ControlType nType,
return
aButtonRect
;
return
aButtonRect
;
}
}
#define FALLBACK_ARROW_SIZE 11 * 0.85
void
GtkSalGraphics
::
PaintCombobox
(
GtkStateFlags
flags
,
cairo_t
*
cr
,
void
GtkSalGraphics
::
PaintCombobox
(
GtkStateFlags
flags
,
cairo_t
*
cr
,
const
Rectangle
&
rControlRectangle
,
const
Rectangle
&
rControlRectangle
,
ControlType
nType
,
ControlType
nType
,
...
...
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