[mono/monodevelop] d542aac2: [SourceEditor] Changed message bubble font size.
| Newsgroups | gmane.comp.gnome.mono.patches |
|---|---|
| Message-ID | <0000014184ca7c8c-7b107c7d-d82c-41ae-a059-29cc8fc8d88b-000000@email.amazonses.com> |
Branch: refs/heads/master
Home: https://github.com/mono/monodevelop
Compare: https://github.com/mono/monodevelop/compare/7e96e6ebb06e...d542aac2fdf5
Commit: d542aac2fdf5e4379a58ac56d050f5646b385c5f
Author: Mike Krüger <[email protected]> (mkrueger)
Date: 2013-10-04 18:44:36 GMT
URL: https://github.com/mono/monodevelop/commit/d542aac2fdf5e4379a58ac56d050f5646b385c5f
[SourceEditor] Changed message bubble font size.
Changed paths:
M main/src/addins/MonoDevelop.SourceEditor2/MonoDevelop.SourceEditor.addin.xml
M main/src/addins/MonoDevelop.SourceEditor2/MonoDevelop.SourceEditor/MessageBubbleTextMarker.cs
Modified: main/src/addins/MonoDevelop.SourceEditor2/MonoDevelop.SourceEditor.addin.xml
===================================================================
@@ -1,6 +1,6 @@
<ExtensionModel>
- <!-- Extension points -->
+ <!-- Extension points -->
<ExtensionPoint path = "/MonoDevelop/SourceEditor2/ContextMenu/Editor" name = "Editor context menu">
<Description>Context menu for the editor.</Description>;
@@ -218,9 +218,9 @@
</Extension>
<Extension path = "/MonoDevelop/Ide/Fonts">
- <Font name ="MessageBubbles" _displayName="Message bubbles" default ="_DEFAULT_SANS" defaultMac = "Lucida Grande 10"/>
- <Font name ="MessageBubbleCounter" _displayName="Message bubbles error count" default ="_DEFAULT_SANS" defaultMac = "Lucida Grande Bold 10"/>
- <Font name ="MessageBubbleTooltip" _displayName="Message bubbles tooltip" default ="_DEFAULT_SANS" defaultMac = "Lucida Grande Bold 10"/>
+ <Font name ="MessageBubbles" _displayName="Message bubbles" default ="_DEFAULT_SANS" defaultMac = "Lucida Grande 11"/>
+ <Font name ="MessageBubbleCounter" _displayName="Message bubbles error count" default ="_DEFAULT_SANS" defaultMac = "Lucida Grande Bold 11"/>
+ <Font name ="MessageBubbleTooltip" _displayName="Message bubbles tooltip" default ="_DEFAULT_SANS" defaultMac = "Lucida Grande Bold 11"/>
<Font name ="LanguageTooltips" _displayName="Editor tooltips" default ="_DEFAULT_SANS"/>
</Extension>
Modified: main/src/addins/MonoDevelop.SourceEditor2/MonoDevelop.SourceEditor/MessageBubbleTextMarker.cs
===================================================================
@@ -447,8 +447,8 @@ public override void DrawAfterEol (TextEditor textEditor, Cairo.Context g, doubl
errorCountLayout.GetPixelSize (out ew, out eh);
g.Translate (
- errorCounterX + (errorCounterWidth - ew) / 2,
- errorCounterY + (errorCounterHeight - eh) / 2
+ errorCounterX + (2 + errorCounterWidth - ew) / 2,
+ errorCounterY + (-1 + errorCounterHeight - eh) / 2
);
g.SetSourceColor (CounterColor.SecondColor);
g.ShowLayout (errorCountLayout);
_______________________________________________
Mono-patches maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches