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
50a20f94
Kaydet (Commit)
50a20f94
authored
Eki 12, 2012
tarafından
Ivan Timofeev
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
gtk: attempt to fix visual glitches around edit fields
Change-Id: I0c97840e610e6f2170a758afbd263ce6cd9e3129
üst
f50f9c43
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
15 additions
and
5 deletions
+15
-5
salnativewidgets-gtk.cxx
vcl/unx/gtk/gdi/salnativewidgets-gtk.cxx
+15
-5
No files found.
vcl/unx/gtk/gdi/salnativewidgets-gtk.cxx
Dosyayı görüntüle @
50a20f94
...
...
@@ -2236,13 +2236,23 @@ static void NWPaintOneEditBox( SalX11Screen nScreen,
NWSetWidgetState
(
widget
,
nState
,
stateType
);
/* This doesn't seem to be necessary, and it causes some weird glitch in
* murrine (with the elementary theme for instance) but it fixes some issue
* with Orta, so... */
gint
xborder
=
widget
->
style
->
xthickness
;
gint
yborder
=
widget
->
style
->
ythickness
;
gint
bInteriorFocus
,
nFocusLineWidth
;
gtk_widget_style_get
(
widget
,
"interior-focus"
,
&
bInteriorFocus
,
"focus-line-width"
,
&
nFocusLineWidth
,
(
char
*
)
NULL
);
if
(
bInteriorFocus
)
{
xborder
+=
nFocusLineWidth
;
yborder
+=
nFocusLineWidth
;
}
gtk_paint_flat_box
(
widget
->
style
,
gdkDrawable
,
stateType
,
GTK_SHADOW_NONE
,
gdkRect
,
widget
,
"entry_bg"
,
aEditBoxRect
.
Left
()
,
aEditBoxRect
.
Top
()
,
aEditBoxRect
.
GetWidth
()
,
aEditBoxRect
.
GetHeight
()
);
aEditBoxRect
.
Left
()
+
xborder
,
aEditBoxRect
.
Top
()
+
yborder
,
aEditBoxRect
.
GetWidth
()
-
2
*
xborder
,
aEditBoxRect
.
GetHeight
()
-
2
*
yborder
);
gtk_paint_shadow
(
widget
->
style
,
gdkDrawable
,
GTK_STATE_NORMAL
,
GTK_SHADOW_IN
,
gdkRect
,
widget
,
"entry"
,
aEditBoxRect
.
Left
(),
aEditBoxRect
.
Top
(),
...
...
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