mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-28 16:01:20 +02:00
- upnpbrowser: center text in topbox
Signed-off-by: Thilo Graf <dbt@novatux.de>
This commit is contained in:
@@ -942,7 +942,7 @@ void CUpnpBrowserGui::paintDeviceInfo()
|
|||||||
|
|
||||||
topbox.setDimensionsAll(m_x, m_y, m_width, m_topbox_height);
|
topbox.setDimensionsAll(m_x, m_y, m_width, m_topbox_height);
|
||||||
topbox.setCorner(RADIUS_LARGE);
|
topbox.setCorner(RADIUS_LARGE);
|
||||||
topbox.setText(tmp, CTextBox::AUTO_WIDTH);
|
topbox.setText(tmp, CTextBox::AUTO_WIDTH | CTextBox::CENTER);
|
||||||
topbox.paint0();
|
topbox.paint0();
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -1144,7 +1144,7 @@ void CUpnpBrowserGui::paintItemInfo(UPnPEntry *entry)
|
|||||||
}
|
}
|
||||||
|
|
||||||
topbox.setCorner(RADIUS_LARGE);
|
topbox.setCorner(RADIUS_LARGE);
|
||||||
topbox.setText(tmp, CTextBox::AUTO_WIDTH);
|
topbox.setText(tmp, CTextBox::AUTO_WIDTH | CTextBox::CENTER);
|
||||||
topbox.paint0();
|
topbox.paint0();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user