[Dextrose] [PATCH 53/54] Fix for bug uy#747.
Anish Mangal
anish at sugarlabs.org
Tue Nov 8 12:50:35 EST 2011
From: Ajay Garg <ajay at sugarlabs.org>
Added a scrollbar for details-view of journal.
Signed-off-by: Ajay Garg <ajay at sugarlabs.org>
Signed-off-by: Anish Mangal <anish at sugarlabs.org>
---
src/jarabe/journal/expandedentry.py | 7 +++++--
1 files changed, 5 insertions(+), 2 deletions(-)
diff --git a/src/jarabe/journal/expandedentry.py b/src/jarabe/journal/expandedentry.py
index 4e99dc2..760144d 100644
--- a/src/jarabe/journal/expandedentry.py
+++ b/src/jarabe/journal/expandedentry.py
@@ -89,9 +89,12 @@ class ExpandedEntry(hippo.CanvasBox):
spacing=style.DEFAULT_SPACING * 3,
padding_left=style.GRID_CELL_SIZE,
padding_right=style.GRID_CELL_SIZE,
- padding_top=style.DEFAULT_SPACING * 3)
+ padding_top=style.DEFAULT_SPACING * 3,
+ background_color=style.COLOR_WHITE.get_int())
- self.append(body, hippo.PACK_EXPAND)
+ scrolled_window = hippo.CanvasScrollbars()
+ scrolled_window.set_root(body)
+ self.append(scrolled_window, hippo.PACK_EXPAND)
first_column = hippo.CanvasBox(orientation=hippo.ORIENTATION_VERTICAL,
spacing=style.DEFAULT_SPACING)
--
1.7.4.4
More information about the Dextrose
mailing list