gmusicbrowser Forum

Main board => Customization => Topic started by: helloindustries on March 19, 2011, 18:35:24

Title: Back again, seeking help with another very simple layout :)
Post by: helloindustries on March 19, 2011, 18:35:24
Yeah, me again. Asking for help with a layout.
This time it's meant to sit on top of the gnome panel:

(http://i901.photobucket.com/albums/ac212/helloiamdene/GmusicBrowser/GMBpanel1b.jpg)

(http://i901.photobucket.com/albums/ac212/helloiamdene/GmusicBrowser/GMBpanel1a.jpg)
(as a modification to the above, the font should be Ubuntu 8pt)

Maybe aboettger would be kind enough to help me on this one?

[source BG png attached to post]
Icons used in image are from the very excellent Faenza icon set.
Title: Re: Back again, seeking help with another very simple layout :)
Post by: VastOne on March 20, 2011, 01:50:59
Yeah, me again. Asking for help with a layout.
This time it's meant to sit on top of the gnome panel:

(http://i901.photobucket.com/albums/ac212/helloiamdene/GmusicBrowser/GMBpanel1b.jpg)

(http://i901.photobucket.com/albums/ac212/helloiamdene/GmusicBrowser/GMBpanel1a.jpg)
(as a modification to the above, the font should be Ubuntu 8pt)

Maybe aboettger would be kind enough to help me on this one?

[source BG png attached to post]
Icons used in image are from the very excellent Faenza icon set.

Are you aware of the Titlebar plugin?  It gives a unique layout to any current Window.

I realize this is not the panel you are requesting, but I think to do that may need a function to add the layout to the panel ("Add to Panel") which is an entirely different set of functions.
Title: Re: Back again, seeking help with another very simple layout :)
Post by: helloindustries on March 20, 2011, 01:58:46
Not tried that function as yet.
Thanks for the heads-up, i'll have a play now :)

As for the requested layout, you can set them as on-top of all windows and simply place it anywhere on screen, even over the panel.
I probably should have been more clear about that originally, i suppose.
Title: Re: Back again, seeking help with another very simple layout :)
Post by: aboettger on March 22, 2011, 00:56:21
Completed ... https://github.com/aboettger/gmusicbrowser-layouts
Title: Re: Back again, seeking help with another very simple layout :)
Post by: helloindustries on March 22, 2011, 03:16:02
Completed ... https://github.com/aboettger/gmusicbrowser-layouts

You, sir, are too awesome :) I shall try this now.
Title: Re: Back again, seeking help with another very simple layout :)
Post by: helloindustries on March 22, 2011, 19:31:27
Completed ... https://github.com/aboettger/gmusicbrowser-layouts

Hate to be a pain, but could i ask for a very small tweak?

The text needs moving down by 1px, and left by 3pix
Title: Re: Back again, seeking help with another very simple layout :)
Post by: aboettger on March 22, 2011, 22:46:50
Ok, you can test it.
Title: Re: Back again, seeking help with another very simple layout :)
Post by: helloindustries on March 22, 2011, 23:01:02
Ok, you can test it.

Thanks :)
Vertical adjustments are perfect, but the horizontal placement of text seems to have moved 1pix or so to the right.

See attached before/after image :)

Again, thank you.
Title: Re: Back again, seeking help with another very simple layout :)
Post by: helloindustries on March 22, 2011, 23:30:12
oh, and the BG i'm using (attached)
Title: Re: Back again, seeking help with another very simple layout :)
Post by: helloindustries on March 23, 2011, 16:20:31
OK, on further tweaking and such, the vertical text placement is still fine, but the horizontal alignment is still off a bit.
I can't figure out where that line on the far right of the BG image is coming from, as it isn't in the BG image itself (attached).

Also getting some text run-over on long titles. Any chance of restricting the text to the areas indicated on the attached shot?

As ever; Thanks for the help.
I can't wrap my head around the customisation method used for the widgets at all. I find it quite confusing. I'd be fine if it used XML or something similar. For example; I got on just fine with making CoverGloobus layouts.
Title: Re: Back again, seeking help with another very simple layout :)
Post by: aboettger on March 23, 2011, 23:57:21
I have reduced the width of the textbox for the artist.
Title: Re: Back again, seeking help with another very simple layout :)
Post by: helloindustries on March 24, 2011, 00:10:21
I have reduced the width of the textbox for the artist.

Much appreciated :)

After comparing the existing layout code, and the new one, i can now see how to adjust some parts, mostly the artist and track title position and max width. After a quick play with the values, i find the following to be ideal for the layout as it stands:

Code: [Select]
FBMainContainer = \
24,1,183,23 Title(yalign=0.5,xalign=0,markup="%t",click1="") \
239,1,145,23 Artist(yalign=0.5,xalign=0,markup="%a",click1="")

I won't need to constantly bug you for such trivial changes any more :)
But hey; as ever i really appreciate all the help.
Title: Re: Back again, seeking help with another very simple layout :)
Post by: aboettger on March 24, 2011, 01:28:01
I have fun :)
Title: Re: Back again, seeking help with another very simple layout :)
Post by: laite on April 05, 2011, 23:17:17
Hi. I modified this a bit further, but I would really like to see somekind of 'progressbar' for example to fill last box (with time) with different color as the song plays. Is this possible? I couldn't find anything but moving 'pad' to put in layout, and that isn't quite what I would like.
Title: Re: Back again, seeking help with another very simple layout :)
Post by: laite on April 06, 2011, 16:33:33
Well, I found somekind of a compromise. It seems that timebar can't be skinned, though, so this doesn't look so pretty that I hoped for (and I'm not going to change my system looks just because of this... :))
Title: Re: Back again, seeking help with another very simple layout :)
Post by: helloindustries on April 07, 2011, 05:44:04
Well, I found somekind of a compromise. It seems that timebar can't be skinned, though, so this doesn't look so pretty that I hoped for (and I'm not going to change my system looks just because of this... :))

It's a shame the progress bar can't be skinned :(
Further; It'd be awesome if we could define custom rating stars and other elements just for a particular widget without it changing the player window.