mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-09-09 06:38:36 +02:00
CTextBox: expand parameters of member setTextBorderWidth()
This allows to use different horizontal and vertical width of borders in text boxes. Signed-off-by: Thilo Graf <dbt@novatux.de>
This commit is contained in:
@@ -295,7 +295,7 @@ void CComponentsItemBox::paintText(size_t index, bool newElement)
|
||||
v_element_data[index].handler2 = (void*)textbox;
|
||||
}
|
||||
|
||||
textbox->setTextBorderWidth(0);
|
||||
textbox->setTextBorderWidth(0,0);
|
||||
textbox->enableBackgroundPaint(false);
|
||||
textbox->setTextFont(font_text);
|
||||
textbox->movePosition(box->iX, box->iY);
|
||||
|
Reference in New Issue
Block a user