[gbrainy] Fix drawing boxes sizes
- From: Jordi Mas <jmas src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gbrainy] Fix drawing boxes sizes
- Date: Sat, 19 Jan 2013 09:40:07 +0000 (UTC)
commit 780beb65c2c48468d2ca81e4d594cf032d5109ab
Author: Jordi Mas <jmas softcatala org>
Date: Sat Jan 19 10:42:41 2013 +0100
Fix drawing boxes sizes
src/Core/Main/Verbal/AnalogiesMultipleOptions.cs | 2 +-
.../Main/Verbal/AnalogiesPairOfWordsOptions.cs | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/Core/Main/Verbal/AnalogiesMultipleOptions.cs b/src/Core/Main/Verbal/AnalogiesMultipleOptions.cs
index b216552..1d88061 100644
--- a/src/Core/Main/Verbal/AnalogiesMultipleOptions.cs
+++ b/src/Core/Main/Verbal/AnalogiesMultipleOptions.cs
@@ -67,7 +67,7 @@ namespace gbrainy.Core.Main.Verbal
Answer.CheckAttributes |= GameAnswerCheckAttributes.MultiOption;
Answer.SetMultiOptionAnswer (Current.right, Current.answers[Current.right]);
- Container container = new Container (DrawAreaX + 0.1, 0.50, 0.5, Current.answers.Length * 0.15);
+ Container container = new Container (DrawAreaX, DrawAreaY + 0.2, 0.8, Current.answers.Length * 0.15);
AddWidget (container);
for (int i = 0; i < Current.answers.Length; i++)
diff --git a/src/Core/Main/Verbal/AnalogiesPairOfWordsOptions.cs b/src/Core/Main/Verbal/AnalogiesPairOfWordsOptions.cs
index 3a22db2..a966eca 100644
--- a/src/Core/Main/Verbal/AnalogiesPairOfWordsOptions.cs
+++ b/src/Core/Main/Verbal/AnalogiesPairOfWordsOptions.cs
@@ -83,7 +83,7 @@ namespace gbrainy.Core.Main.Verbal
Answer.CheckAttributes |= GameAnswerCheckAttributes.MultiOption;
Answer.Correct = Answer.GetMultiOption (Current.right);
- Container container = new Container (DrawAreaX + 0.1, 0.50, 0.5, Current.answers.Length * 0.15);
+ Container container = new Container (DrawAreaX, DrawAreaY + 0.25, 0.8, Current.answers.Length * 0.15);
AddWidget (container);
for (int i = 0; i < Current.answers.Length; i++)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]