January 02, 2012, 01:02:06 Last Edit: January 03, 2012, 19:32:31 by VastOne
Is it possible to create a new line outside of a container..  In the image you see the time bar and where it is placed..

I would like to have it underneath the entire layout expanded across below.  I have tried several options but cannot seem to move just that line below the entire field



Here is the code

[VastOne Thin Layout]
Type=D
Author=VastOne

Window =  transparent=1
HBTime = Length(markup="$length",initsize="XX:XX",xalign=0) _TimeSlider(direct_mode=1) -PlayingTime(markup="%s",initsize="XX:XX",xalign=1)
HBButtons = 7Prev(size=small-toolbar) 45Filler2 Play(size=small-toolbar) -Next(size=small-toolbar)
HBTitle = LockSong _Title
HBArtist = LockArtist _Artist -HBSettings
HBSettings = ExtraButtons(size=menu) BMSettings
BMSettings = (icon=gtk-preferences,size=menu) MainMenuItem PSortItem SMLibrary LayoutItem QueueItem PFilterItem SeparatorMenuItem01 MenuItem14(command=OpenPref,label=_"Settings",icon="gtk-preferences") MenuItem05(command=Quit,label=_"Quit",icon="gtk-quit")
SMLibrary = (label=_"Library") MenuItem00(command="RunPerlCode(::ChooseAddPath(0,1))",label=_"Add Music",icon="gtk-add") MenuItem32(command="RunPerlCode(::IdleScan)",label=_"Rescan Collection",icon="gtk-refresh")
HBAlbum = LockAlbum _Album -VolumeIcon
VBText = HBTitle HBArtist HBAlbum
VBmain = _VBText -HBTime HBButtons
HBmain = _VBmain Filler1 -Cover(forceratio=1,maxsize=0)
# VBBottom = HBTime
VolumeScroll = VolumeIcon

I dev VSIDO

You just have to remove HBTime, add a VB container, put the previous top container in it and HBTime.
I renamed the old VBmain and HBmain for clarity, the new top container is VBmain :

[VastOne Thin Layout]
Type=D
Author=VastOne

Window =  transparent=1
HBTime = Length(markup="$length",initsize="XX:XX",xalign=0) _TimeSlider(direct_mode=1) -PlayingTime(markup="%s",initsize="XX:XX",xalign=1)
HBButtons = 7Prev(size=small-toolbar) 45Filler2 Play(size=small-toolbar) -Next(size=small-toolbar)
HBTitle = LockSong _Title
HBArtist = LockArtist _Artist -HBSettings
HBSettings = ExtraButtons(size=menu) BMSettings
BMSettings = (icon=gtk-preferences,size=menu) MainMenuItem PSortItem SMLibrary LayoutItem QueueItem PFilterItem SeparatorMenuItem01 MenuItem14(command=OpenPref,label=_"Settings",icon="gtk-preferences") MenuItem05(command=Quit,label=_"Quit",icon="gtk-quit")
SMLibrary = (label=_"Library") MenuItem00(command="RunPerlCode(::ChooseAddPath(0,1))",label=_"Add Music",icon="gtk-add") MenuItem32(command="RunPerlCode(::IdleScan)",label=_"Rescan Collection",icon="gtk-refresh")
HBAlbum = LockAlbum _Album -VolumeIcon
VBText = HBTitle HBArtist HBAlbum
VBleft = _VBText HBButtons
HBtop = _VBleft Filler1 -Cover(forceratio=1,maxsize=0)
VBmain = _HBtop HBTime
VolumeScroll = VolumeIcon


Thanks squentin..

That was perfect and obvious... I missed it badly!  :-[

Happy New Year
I dev VSIDO

#3 January 03, 2012, 19:44:05 Last Edit: January 04, 2012, 01:12:55 by VastOne
For anyone who wants it, here is the finished product



vastone-thin4.layout


[VastOne Thin Layout IV]
Type=D
Author=VastOne

Window =  transparent=1
HBTime = 6Filler1 Length(markup="$length",initsize="XX:XX",xalign=0) _TimeSlider(direct_mode=1) PlayingTime(markup="%s",initsize="XX:XX",xalign=1)
HBButtons = 7Prev(size=small-toolbar) 7Play(size=small-toolbar) 7Next(size=small-toolbar) 7VolumeIcon HBSettings
HBTitle = LockSong _Title
HBArtist = LockArtist _Artist
HBSettings = ExtraButtons(size=menu) BMSettings
BMSettings = (icon=gtk-preferences,size=menu) MainMenuItem PSortItem SMLibrary LayoutItem QueueItem PFilterItem SeparatorMenuItem01 MenuItem14(command=OpenPref,label=_"Settings",icon="gtk-preferences") MenuItem05(command=Quit,label=_"Quit",icon="gtk-quit")
SMLibrary = (label=_"Library") MenuItem00(command="RunPerlCode(::ChooseAddPath(0,1))",label=_"Add Music",icon="gtk-add") MenuItem32(command="RunPerlCode(::IdleScan)",label=_"Rescan Collection",icon="gtk-refresh")
HBAlbum = LockAlbum _Album
VBText = HBArtist HBAlbum HBTitle
VBmain = _VBText -HBTime HBButtons
VBleft = _VBText HBButtons
HBtop = _VBleft Filler1 -Cover(forceratio=1,maxsize=0)
VBmain = _HBtop HBTime
VolumeScroll = VolumeIcon


And here is another version of it with a different setup



vastone-thin3.layout


[VastOne Thin Layout III]
Type=D
Author=VastOne

Window =  transparent=1
HBButtons    = 7Prev(size=small-toolbar) 7Play(size=small-toolbar) 7Next(size=small-toolbar) 7VolumeIcon HBSettings
HBTitle        = LockSong _Title
HBArtist    = LockArtist _Artist
HBSettings    = ExtraButtons(size=menu) BMSettings
BMSettings    = (icon=gtk-preferences,size=menu) MainMenuItem PSortItem SMLibrary LayoutItem QueueItem PFilterItem SeparatorMenuItem01 MenuItem14(command=OpenPref,label=_"Settings",icon="gtk-preferences") MenuItem05(command=Quit,label=_"Quit",icon="gtk-quit")
SMLibrary    = (label=_"Library") MenuItem00(command="RunPerlCode(::ChooseAddPath(0,1))",label=_"Add Music",icon="gtk-add") MenuItem32(command="RunPerlCode(::IdleScan)",label=_"Rescan Collection",icon="gtk-refresh")
HBAlbum        = LockAlbum _Album
VBText        = HBArtist HBAlbum HBButtons
# VBmain        = _VBText
VBleft        = _VBText HBButtons
HBtop        = _VBleft Filler1 -Cover(forceratio=1,maxsize=0)
HBTime        = 6Filler1 Length(markup="$length",initsize="XX:XX",xalign=0) _TimeSlider(direct_mode=1) PlayingTime(markup="%s",initsize="XX:XX",xalign=1)
VBmain        = _HBTitle  _HBtop HBTime
VolumeScroll    = VolumeIcon


Thanks again squentin!
I dev VSIDO