Improve addons screen layout

This commit is contained in:
Benau 2019-12-18 14:29:27 +08:00
parent f1e0548d0e
commit 1e99d8cbbb
2 changed files with 3 additions and 2 deletions

View File

@ -37,14 +37,14 @@
</tabs>
<box proportion="1" width="98%" align="center" layout="vertical-row" padding="6">
<div layout="horizontal-row" width="100%" height="2f">
<div layout="horizontal-row" width="100%" height="12%">
<spacer width="1%" />
<label text="Installed" align="center" I18N="In addons screen, above the list of addons to be installed"/>
<spacer width="1%" />
<spinner id="filter_installation" proportion="5" align="center" min_value="0" wrap_around="true"/>
<spacer width="50%" />
</div>
<list id="list_addons" x="0" y="0" width="100%" height="92%" word_wrap="true" alternate_bg="true"/>
<list id="list_addons" x="0" y="0" width="100%" height="88%" word_wrap="true" alternate_bg="true"/>
</box>
</div>
</stkgui>

View File

@ -134,6 +134,7 @@ void AddonsScreen::beforeAddingWidget()
w_filter_installation->m_properties[GUIEngine::PROP_MAX_VALUE] = "2";
w_filter_installation->addLabel(_("All"));
w_filter_installation->addLabel(_("Installed"));
//I18N: Addon not installed for fillter
w_filter_installation->addLabel(_("Not installed"));
}
// ----------------------------------------------------------------------------