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
4cb72083
Kaydet (Commit)
4cb72083
authored
Eki 14, 2016
tarafından
Caolán McNamara
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Related: tdf#101699 gtk3: get correct arrow width
Change-Id: If02c598306ec6f19cf83958c4a176cafa67076dc
üst
6e8dbdbe
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
2 deletions
+5
-2
gtk3salnativewidgets-gtk.cxx
vcl/unx/gtk3/gtk3salnativewidgets-gtk.cxx
+5
-2
No files found.
vcl/unx/gtk3/gtk3salnativewidgets-gtk.cxx
Dosyayı görüntüle @
4cb72083
...
@@ -680,7 +680,6 @@ void GtkSalGraphics::PaintSpinButton(GtkStyleContext *context,
...
@@ -680,7 +680,6 @@ void GtkSalGraphics::PaintSpinButton(GtkStyleContext *context,
cairo_translate
(
cr
,
rControlRectangle
.
Left
(),
rControlRectangle
.
Top
());
cairo_translate
(
cr
,
rControlRectangle
.
Left
(),
rControlRectangle
.
Top
());
}
}
#define ARROW_SIZE 11 * 0.85
Rectangle
GtkSalGraphics
::
NWGetComboBoxButtonRect
(
ControlType
nType
,
Rectangle
GtkSalGraphics
::
NWGetComboBoxButtonRect
(
ControlType
nType
,
ControlPart
nPart
,
ControlPart
nPart
,
Rectangle
aAreaRect
)
Rectangle
aAreaRect
)
...
@@ -692,7 +691,11 @@ Rectangle GtkSalGraphics::NWGetComboBoxButtonRect( ControlType nType,
...
@@ -692,7 +691,11 @@ 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
=
ARROW_SIZE
;
gint
nArrowWidth
;
gtk_style_context_get
(
mpComboboxButtonArrowStyle
,
gtk_style_context_get_state
(
mpComboboxButtonArrowStyle
),
"min-width"
,
&
nArrowWidth
,
NULL
);
gint
nButtonWidth
=
nArrowWidth
+
padding
.
left
+
padding
.
right
;
gint
nButtonWidth
=
nArrowWidth
+
padding
.
left
+
padding
.
right
;
if
(
nPart
==
ControlPart
::
ButtonDown
)
if
(
nPart
==
ControlPart
::
ButtonDown
)
{
{
...
...
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