Author Topic: Back again, seeking help with another very simple layout :)  (Read 8829 times)

helloindustries

  • Jr. Member
  • **
  • Posts: 69
    • View Profile
Yeah, me again. Asking for help with a layout.
This time it's meant to sit on top of the gnome panel:




(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.
« Last Edit: March 19, 2011, 21:08:42 by helloindustries »

VastOne

  • Full Member
  • ***
  • Posts: 200
    • View Profile
Re: Back again, seeking help with another very simple layout :)
« Reply #1 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:




(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.

helloindustries

  • Jr. Member
  • **
  • Posts: 69
    • View Profile
Re: Back again, seeking help with another very simple layout :)
« Reply #2 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.

aboettger

  • Jr. Member
  • **
  • Posts: 59
    • View Profile

helloindustries

  • Jr. Member
  • **
  • Posts: 69
    • View Profile
Re: Back again, seeking help with another very simple layout :)
« Reply #4 on: March 22, 2011, 03:16:02 »

helloindustries

  • Jr. Member
  • **
  • Posts: 69
    • View Profile
Re: Back again, seeking help with another very simple layout :)
« Reply #5 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

aboettger

  • Jr. Member
  • **
  • Posts: 59
    • View Profile
Re: Back again, seeking help with another very simple layout :)
« Reply #6 on: March 22, 2011, 22:46:50 »
Ok, you can test it.

helloindustries

  • Jr. Member
  • **
  • Posts: 69
    • View Profile
Re: Back again, seeking help with another very simple layout :)
« Reply #7 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.

helloindustries

  • Jr. Member
  • **
  • Posts: 69
    • View Profile
Re: Back again, seeking help with another very simple layout :)
« Reply #8 on: March 22, 2011, 23:30:12 »
oh, and the BG i'm using (attached)

helloindustries

  • Jr. Member
  • **
  • Posts: 69
    • View Profile
Re: Back again, seeking help with another very simple layout :)
« Reply #9 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.

aboettger

  • Jr. Member
  • **
  • Posts: 59
    • View Profile
Re: Back again, seeking help with another very simple layout :)
« Reply #10 on: March 23, 2011, 23:57:21 »
I have reduced the width of the textbox for the artist.

helloindustries

  • Jr. Member
  • **
  • Posts: 69
    • View Profile
Re: Back again, seeking help with another very simple layout :)
« Reply #11 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.

aboettger

  • Jr. Member
  • **
  • Posts: 59
    • View Profile
Re: Back again, seeking help with another very simple layout :)
« Reply #12 on: March 24, 2011, 01:28:01 »
I have fun :)

laite

  • Jr. Member
  • **
  • Posts: 96
    • View Profile
    • Gmusicbrowser-plugins by laite
Re: Back again, seeking help with another very simple layout :)
« Reply #13 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.

laite

  • Jr. Member
  • **
  • Posts: 96
    • View Profile
    • Gmusicbrowser-plugins by laite
Re: Back again, seeking help with another very simple layout :)
« Reply #14 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... :))
« Last Edit: April 06, 2011, 17:22:09 by laite »