PoorMan: use B_WIDTH_FROM_WIDEST BTabView

Avoids truncation of the tab titles with Russian locale.
This commit is contained in:
Adrien Destugues 2014-10-19 13:16:11 +02:00
parent ff0f13f37a
commit 40afabe6a3

View File

@ -35,7 +35,7 @@ PoorManPreferencesWindow::PoorManPreferencesWindow(BRect frame, char * name)
fDoneButton = new BButton("Done Button", B_TRANSLATE("Done"), fDoneButton = new BButton("Done Button", B_TRANSLATE("Done"),
new BMessage(MSG_PREF_BTN_DONE)); new BMessage(MSG_PREF_BTN_DONE));
fPrefTabView = new BTabView("Pref Tab View"); fPrefTabView = new BTabView("Pref Tab View", B_WIDTH_FROM_WIDEST);
// Site Tab // Site Tab
fSiteTab = new BTab(); fSiteTab = new BTab();