Mailing List archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[vdr] Re: Problems with cMenuTextItem



Gerhard Steiner wrote:
> 
> Hello,
> 
> I am trying to make a patch, so I can see some file
> information within the recordings menu.
> 
> All I want is to have some formated output within a menu
> 
> Title:        xxxxxxxxxx
> Path:        /video......../...rec
> 
> Priority:    50
> Lifetime:   50
> 
>   File                  Size in Bytes
> 001.vdr           1.212.233.422
> summary.vdr             32.545
> ......
> 
> I tried this with several cMenuTextItem like
> Add(new cMenuTextItem(tr("Title"), 1, Line, Setup.OSDwidth -
> 2);
> since a tab does not work within a menu.
> 
> But whatever I try no more than 14 cMenuTextItem are
> displayed.
> Is there a known problem with the maximum amount of
> cMenuTextItems in a single menu?
> Is this the best solution, or what would be the best to
> display a formated text, since "\t" does not work?

cMenuTextItem is a multi line text field. I believe what you want
is a single line field for every entry, so you should use cMenuEditStrItem
instead.

Klaus
-- 
_______________________________________________________________

Klaus Schmidinger                       Phone: +49-8635-6989-10
CadSoft Computer GmbH                   Fax:   +49-8635-6989-40
Hofmark 2                               Email:   kls@cadsoft.de
D-84568 Pleiskirchen, Germany           URL:     www.cadsoft.de
_______________________________________________________________




Home | Main Index | Thread Index