mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-31 09:21:09 +02:00
CImageInfo: optimize label arrangement
Distance between label and text was too large with full hd resolution.
Origin commit data
------------------
Branch: ni/coolstream
Commit: 17227504c2
Author: Thilo Graf <dbt@novatux.de>
Date: 2017-03-15 (Wed, 15 Mar 2017)
------------------
This commit was generated by Migit
This commit is contained in:
@@ -355,7 +355,7 @@ void CImageInfo::InitInfos()
|
|||||||
y_tmp = 0;
|
y_tmp = 0;
|
||||||
for (size_t i=0; i<v_info.size(); i++) {
|
for (size_t i=0; i<v_info.size(); i++) {
|
||||||
CComponentsExtTextForm *item = new CComponentsExtTextForm(1, y_tmp, cc_info->getWidth(), 0, g_Locale->getText(v_info[i].caption), v_info[i].info_text);
|
CComponentsExtTextForm *item = new CComponentsExtTextForm(1, y_tmp, cc_info->getWidth(), 0, g_Locale->getText(v_info[i].caption), v_info[i].info_text);
|
||||||
item->setLabelWidthPercent(20);
|
item->setLabelWidthPercent(15);
|
||||||
|
|
||||||
if (!item_font){
|
if (!item_font){
|
||||||
item_font = item->getFont();
|
item_font = item->getFont();
|
||||||
|
Reference in New Issue
Block a user