I'm using the widget layout; 'Insensitive, Song & Cover' and i notice that it has a limited width, and forces bold text:


(Red lines added by me to illustrate boundaries)

I've looked through the layout data as best i can, but can't identify/find any part that deals with the width limit, or the text formatting. Well, at least anything *I* can understand.

I already have the text set up via the preferences as so:


If anyone could point me to the correct lines of code, or otherwise instruct me on how to set a much wider limit (say, 800pix) and non-bold, i'd really appreciate it.

You can use the option markup in the layout definition for "Insensitive, Song & Cover". The layout section is named as "[D_insens_song_cover]" (without quotes)


_Title(markup="%t")


More %-letters here: http://gmusicbrowser.org/dokuwiki/doku.php?id=customization:layouts:latest_version
More for markup: http://library.gnome.org/devel/pango/unstable/PangoMarkupFormat.html

Quote from: aboettger on February 11, 2011, 08:50:26
You can use the option markup in the layout definition for "Insensitive, Song & Cover". The layout section is named as "[D_insens_song_cover]" (without quotes)


_Title(markup="%t")


More %-letters here: http://gmusicbrowser.org/dokuwiki/doku.php?id=customization:layouts:latest_version
More for markup: http://library.gnome.org/devel/pango/unstable/PangoMarkupFormat.html

Thanks, but code makes no sense to me at all.
May as well be in binary.

Copy this in a new file and place the file in ~/.config/gmusicbrowser/layouts


[D_helloindustries_insens_song_cover]
Type= D
Name= _"helloindustries Insensitive, Song & Cover"
Window = insensitive=1,transparent=1
DefaultFontColor= white
HBTitle = _Title(markup="%t") LabelsIcons
HBArtist = _Artist(markup="%a")
HBAlbum = _Album(markup="%l") -Year
VBText = 2HBTitle 2HBArtist 2HBAlbum
VBmain = VBText _Cover(maxsize=0,xalign=0,yalign=0)

Quote from: aboettger on February 11, 2011, 10:14:04
Copy this in a new file and place the file in ~/.config/gmusicbrowser/layouts


[D_helloindustries_insens_song_cover]
Type= D
Name= _"helloindustries Insensitive, Song & Cover"
Window = insensitive=1,transparent=1
DefaultFontColor= white
HBTitle = _Title(markup="%t") LabelsIcons
HBArtist = _Artist(markup="%a")
HBAlbum = _Album(markup="%l") -Year
VBText = 2HBTitle 2HBArtist 2HBAlbum
VBmain = VBText _Cover(maxsize=0,xalign=0,yalign=0)


Thanks :)

Works as expected, but i have to ask:
Is there any way to get it to show more characters?
I tend to have a lot of albums/tracks with long titles.

Yes, change the values in the plugin configuration for "Minimum size". You probably still have the data for the size of the cover adapted to your layout.

Quote from: aboettger on February 11, 2011, 11:43:50
Yes, change the values in the plugin configuration for "Minimum size". You probably still have the data for the size of the cover adapted to your layout.

Awesome, THANK YOU!