mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-27 07:22:57 +02:00
progresswindow: Consider window frame for progress bar width
supplement to: sync frame width with message/hintbox 8fb9196
Origin commit data
------------------
Branch: ni/coolstream
Commit: d81ac05623
Author: Thilo Graf <dbt@novatux.de>
Date: 2022-04-17 (Sun, 17 Apr 2022)
------------------
This commit was generated by Migit
This commit is contained in:
@@ -126,7 +126,7 @@ CProgressBar* CProgressWindow::getProgressItem()
|
||||
y_tmp += ccw_body->getCCItem(i)->getYPos() + ccw_body->getCCItem(i)->getHeight();
|
||||
y_tmp += OFFSET_INNER_MID;
|
||||
}
|
||||
pBar->setDimensionsAll(OFFSET_INNER_MID, y_tmp, width-2*OFFSET_INNER_MID, g_Font[SNeutrinoSettings::FONT_TYPE_MENU]->getHeight());
|
||||
pBar->setDimensionsAll(OFFSET_INNER_MID, y_tmp, width-2*OFFSET_INNER_MID-2*fr_thickness, g_Font[SNeutrinoSettings::FONT_TYPE_MENU]->getHeight());
|
||||
pBar->setColorBody(col_body_std);
|
||||
pBar->setActiveColor(COL_PROGRESSBAR_ACTIVE_PLUS_0);
|
||||
pBar->setFrameThickness(FRAME_WIDTH_MIN);
|
||||
|
Reference in New Issue
Block a user