[banshee] [Podcasting] More grid work
- From: Gabriel Burt <gburt src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [banshee] [Podcasting] More grid work
- Date: Tue, 26 Oct 2010 23:30:15 +0000 (UTC)
commit 1d45e2a2048de4860ec8a70136ab961983d46e6a
Author: Gabriel Burt <gabriel burt gmail com>
Date: Mon Oct 25 17:55:58 2010 -0500
[Podcasting] More grid work
.../Banshee.Podcasting.Gui/Grid.cs | 9 ++++++---
1 files changed, 6 insertions(+), 3 deletions(-)
---
diff --git a/src/Extensions/Banshee.Podcasting/Banshee.Podcasting.Gui/Grid.cs b/src/Extensions/Banshee.Podcasting/Banshee.Podcasting.Gui/Grid.cs
index 6718e46..6253d85 100644
--- a/src/Extensions/Banshee.Podcasting/Banshee.Podcasting.Gui/Grid.cs
+++ b/src/Extensions/Banshee.Podcasting/Banshee.Podcasting.Gui/Grid.cs
@@ -51,13 +51,14 @@ namespace Banshee.Podcasting.Gui
{
var layout = new DataViewLayoutGrid () {
ChildAllocator = () => {
+ DataViewChildImage img = new DataViewChildImage ();
return new StackPanel () {
Margin = new Thickness (5),
Width = 350,
Height = 150,
- Spacing = 10,
+ Spacing = 5,
Children = {
- new DataViewChildImage (),
+ img,
new TextBlock () {
UseMarkup = true,
TextWrap = TextWrap.WordChar,
@@ -74,7 +75,9 @@ namespace Banshee.Podcasting.Gui
return "";
}
}
- }
+ }//,
+ // Render the prelight just on the cover art, but triggered by being anywhere over the album
+ //PrelightRenderer = (cr, theme, size, o) => Prelight.Gradient (cr, theme, img.ContentAllocation, o)
};
},
View = this
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]