CComponentsFooter: rework uniformed arrangement

Some parts were incomplete treated with defined parameter
'label_width' and/or 'chain_width'.
This commit is contained in:
2017-10-12 12:26:02 +02:00
parent 88e488d3a0
commit c7a2dd70fc
2 changed files with 128 additions and 87 deletions

View File

@@ -656,7 +656,7 @@ int CTestMenu::exec(CMenuTarget* parent, const std::string &actionKey)
footer->setIcon(NEUTRINO_ICON_INFO);
//add button labels with conventional button label struct
footer->setButtonLabels(TestButtons, TestButtonsCount, 0, footer->getWidth()/TestButtonsCount);
footer->setButtonLabels(TestButtons, TestButtonsCount, 1000, footer->getWidth()/TestButtonsCount);
//also possible: use directly button name and as 2nd parameter string or locale as text
// footer->setButtonLabel(NULL, "Test", 0, 250);