Re: [Banshee-List] Added support for zoom in Wikipedia webview pane
- From: Freddy-N <freddy-neumann arcor de>
- To: banshee-list gnome org
- Subject: Re: [Banshee-List] Added support for zoom in Wikipedia webview pane
- Date: Wed, 27 Apr 2011 02:14:13 -0700 (PDT)
A vertical alignment is easy to build. The only thing you have to do is to
change a single character in source code. ;)
Change in src/Clients/Nereid/Nereid/ViewContainer.cs VBox to HBox:
--------
public class ViewContainer : HBox
--------
The result look like:
http://img807.imageshack.us/img807/6876/screenshott.jpg
http://banshee-media-player.2283330.n4.nabble.com/file/n3477591/screenshott.th.jpg
Click to enlarge
Unfortunately the size of context pane is hardcoded. To change the width you
have to add a single line of code to:
src/Core/Banshee.ThickClient/Banshee.ContextPane/ContextPane.cs
-----
public ContextPane ()
{
WidthRequest = 480;
HeightRequest = 200;
-----
BTW: I think hard coding the size of the context pane is not a good idea. It
should be draggable und change its alignment from vertical to horizontal by
clicking on an additionaly symbol.
--
View this message in context: http://banshee-media-player.2283330.n4.nabble.com/Added-support-for-zoom-in-Wikipedia-webview-pane-tp3473675p3477591.html
Sent from the Banshee Media Player mailing list archive at Nabble.com.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]