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
a4cc4d3e
Kaydet (Commit)
a4cc4d3e
authored
Nis 11, 2012
tarafından
Ivan Timofeev
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
vcl: win: fix RTL menu separator and gutter, checkmarks are still misplaced
üst
6ae314ec
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
15 additions
and
3 deletions
+15
-3
salnativewidgets-luna.cxx
vcl/win/source/gdi/salnativewidgets-luna.cxx
+15
-3
No files found.
vcl/win/source/gdi/salnativewidgets-luna.cxx
Dosyayı görüntüle @
a4cc4d3e
...
...
@@ -984,8 +984,16 @@ sal_Bool ImplDrawNativeControl( HDC hDC, HTHEME hTheme, RECT rc,
if
(
nPart
==
PART_ENTIRE_CONTROL
)
{
RECT
aGutterRC
=
rc
;
aGutterRC
.
left
+=
aValue
.
getNumericVal
();
aGutterRC
.
right
=
aGutterRC
.
left
+
3
;
if
(
Application
::
GetSettings
().
GetLayoutRTL
()
)
{
aGutterRC
.
right
-=
aValue
.
getNumericVal
();
aGutterRC
.
left
=
aGutterRC
.
right
-
3
;
}
else
{
aGutterRC
.
left
+=
aValue
.
getNumericVal
();
aGutterRC
.
right
=
aGutterRC
.
left
+
3
;
}
return
ImplDrawTheme
(
hTheme
,
hDC
,
MENU_POPUPBACKGROUND
,
0
,
rc
,
aCaption
)
&&
ImplDrawTheme
(
hTheme
,
hDC
,
MENU_POPUPGUTTER
,
0
,
aGutterRC
,
aCaption
)
...
...
@@ -1028,7 +1036,11 @@ sal_Bool ImplDrawNativeControl( HDC hDC, HTHEME hTheme, RECT rc,
}
else
if
(
nPart
==
PART_MENU_SEPARATOR
)
{
rc
.
left
+=
aValue
.
getNumericVal
();
// adjust for gutter position
// adjust for gutter position
if
(
Application
::
GetSettings
().
GetLayoutRTL
()
)
rc
.
right
-=
aValue
.
getNumericVal
();
else
rc
.
left
+=
aValue
.
getNumericVal
();
Rectangle
aRect
(
ImplGetThemeRect
(
hTheme
,
hDC
,
MENU_POPUPSEPARATOR
,
0
,
Rectangle
(
rc
.
left
,
rc
.
top
,
rc
.
right
,
rc
.
bottom
)
)
);
// center the separator inside the passed rectangle
...
...
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