[gbrainy] Makes options selection mouse a bit smaller
- From: Jordi Mas <jmas src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gbrainy] Makes options selection mouse a bit smaller
- Date: Sat, 18 Sep 2010 11:48:33 +0000 (UTC)
commit 290c24749260d33506cd3152ce7d7887deeb07ca
Author: Jordi Mas <jmas softcatala org>
Date: Sat Sep 18 13:50:27 2010 +0200
Makes options selection mouse a bit smaller
.../Calculation/CalculationGreatestDivisor.cs | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/src/Games/Calculation/CalculationGreatestDivisor.cs b/src/Games/Calculation/CalculationGreatestDivisor.cs
index ed0bc8b..fca821f 100644
--- a/src/Games/Calculation/CalculationGreatestDivisor.cs
+++ b/src/Games/Calculation/CalculationGreatestDivisor.cs
@@ -123,12 +123,12 @@ namespace gbrainy.Games.Calculation
right_answer = answer.ToString ();
// Drawing objects
- Container container = new Container (DrawAreaX + 0.2, DrawAreaY + 0.25, 0.6, answers.Length * 0.15);
+ Container container = new Container (DrawAreaX + 0.2, DrawAreaY + 0.25, 0.4, answers.Length * 0.15);
AddWidget (container);
for (int i = 0; i < answers.Length; i++)
{
- DrawableArea drawable_area = new DrawableArea (0.5, 0.1);
+ DrawableArea drawable_area = new DrawableArea (0.3, 0.1);
drawable_area.X = DrawAreaX + 0.23;
drawable_area.Y = DrawAreaY + 0.27 + i * 0.15;
container.AddChild (drawable_area);
@@ -138,8 +138,8 @@ namespace gbrainy.Games.Calculation
drawable_area.DrawEventHandler += delegate (object sender, DrawEventArgs e)
{
int d = (int) e.Data;
- e.Context.SetPangoLargeFontSize ();
- e.Context.MoveTo (0.05, 0.02);
+ e.Context.SetPangoLargeFontSize ();
+ e.Context.MoveTo (0.07, 0.02);
e.Context.ShowPangoText (String.Format (Catalog.GetString ("{0}) {1}"), GetPossibleAnswer (d),
answers[d].ToString ()));
};
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]