mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-09-01 01:41:12 +02:00
record_info: fix item offsets
Origin commit data
------------------
Commit: 3c7f99c053
Author: Thilo Graf <dbt@novatux.de>
Date: 2022-01-21 (Fri, 21 Jan 2022)
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