mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-09-01 18:01:13 +02:00
record_info: fix item offsets
This commit is contained in:
@@ -131,12 +131,12 @@ void CRecInfo::init()
|
|||||||
rv_rec_img = new CComponentsPicture(OFFSET_INNER_MIN, 0, rec_icon, this);
|
rv_rec_img = new CComponentsPicture(OFFSET_INNER_MIN, 0, rec_icon, this);
|
||||||
w_rec_img = rv_rec_img->getWidth();
|
w_rec_img = rv_rec_img->getWidth();
|
||||||
h_rec_img = rv_rec_img->getHeight();
|
h_rec_img = rv_rec_img->getHeight();
|
||||||
w_icon_space += w_rec_img;
|
w_icon_space += w_rec_img + OFFSET_INNER_MIN;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!ts_icon.empty())
|
if (!ts_icon.empty())
|
||||||
{
|
{
|
||||||
rv_ts_img = new CComponentsPicture(w_icon_space + OFFSET_INNER_MIN, 0, ts_icon, this);
|
rv_ts_img = new CComponentsPicture(w_icon_space, 0, ts_icon, this);
|
||||||
w_ts_img = rv_ts_img->getWidth();
|
w_ts_img = rv_ts_img->getWidth();
|
||||||
h_ts_img = rv_ts_img->getHeight();
|
h_ts_img = rv_ts_img->getHeight();
|
||||||
w_icon_space += w_ts_img;
|
w_icon_space += w_ts_img;
|
||||||
|
Reference in New Issue
Block a user