[banshee] Fixed layout of the sync-all button in the track editor (bgo#588589)
- From: Alexander Kojevnikov <alexk src gnome org>
- To: svn-commits-list gnome org
- Subject: [banshee] Fixed layout of the sync-all button in the track editor (bgo#588589)
- Date: Wed, 15 Jul 2009 18:04:56 +0000 (UTC)
commit a271609bf7fbae5dd74c2ffd88288c55ff9d99d2
Author: Alexander Kojevnikov <alexander kojevnikov com>
Date: Wed Jul 15 21:30:44 2009 +0400
Fixed layout of the sync-all button in the track editor (bgo#588589)
.../Banshee.Gui.TrackEditor/TrackEditorDialog.cs | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/Core/Banshee.ThickClient/Banshee.Gui.TrackEditor/TrackEditorDialog.cs b/src/Core/Banshee.ThickClient/Banshee.Gui.TrackEditor/TrackEditorDialog.cs
index d9cb9bb..41cae3e 100644
--- a/src/Core/Banshee.ThickClient/Banshee.Gui.TrackEditor/TrackEditorDialog.cs
+++ b/src/Core/Banshee.ThickClient/Banshee.Gui.TrackEditor/TrackEditorDialog.cs
@@ -323,8 +323,8 @@ namespace Banshee.Gui.TrackEditor
return;
}
- sync_all_button.WidthRequest = (children[1].Allocation.X +
- children[1].Allocation.Width) - children[0].Allocation.X - 1;
+ sync_all_button.WidthRequest = Math.Max (sync_all_button.Allocation.Width,
+ (children[1].Allocation.X + children[1].Allocation.Width) - children[0].Allocation.X - 1);
}
#endregion
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]