Small GUI fixes in Notification prefs
* Open the window a bit bigger so the scroll bar in the "Notifications" view isn't activated. * Make the window horizontally resizable. * Sentence casing
This commit is contained in:
parent
4bc43f4368
commit
a034dfb647
@ -82,8 +82,8 @@ NotificationsView::NotificationsView(SettingsHost* host)
|
|||||||
(kCLVTitlePadding * 2), rect.Width(), B_TRUNCATE_END, B_ALIGN_LEFT);
|
(kCLVTitlePadding * 2), rect.Width(), B_TRUNCATE_END, B_ALIGN_LEFT);
|
||||||
fNotifications->AddColumn(fTitleCol, kTitleIndex);
|
fNotifications->AddColumn(fTitleCol, kTitleIndex);
|
||||||
|
|
||||||
fDateCol = new BDateColumn(B_TRANSLATE("Last Received"), 100,
|
fDateCol = new BDateColumn(B_TRANSLATE("Last received"), 100,
|
||||||
be_plain_font->StringWidth(B_TRANSLATE("Last Received")) +
|
be_plain_font->StringWidth(B_TRANSLATE("Last received")) +
|
||||||
(kCLVTitlePadding * 2), rect.Width(), B_ALIGN_LEFT);
|
(kCLVTitlePadding * 2), rect.Width(), B_ALIGN_LEFT);
|
||||||
fNotifications->AddColumn(fDateCol, kDateIndex);
|
fNotifications->AddColumn(fDateCol, kDateIndex);
|
||||||
|
|
||||||
|
@ -33,13 +33,14 @@ const int32 kApply = '_APY';
|
|||||||
|
|
||||||
PrefletWin::PrefletWin()
|
PrefletWin::PrefletWin()
|
||||||
:
|
:
|
||||||
BWindow(BRect(0, 0, 1, 1), B_TRANSLATE_SYSTEM_NAME("Notifications"),
|
BWindow(BRect(0, 0, 500, 400), B_TRANSLATE_SYSTEM_NAME("Notifications"),
|
||||||
B_TITLED_WINDOW, B_NOT_ZOOMABLE | B_ASYNCHRONOUS_CONTROLS
|
B_TITLED_WINDOW, B_NOT_ZOOMABLE | B_ASYNCHRONOUS_CONTROLS
|
||||||
| B_AUTO_UPDATE_SIZE_LIMITS)
|
| B_AUTO_UPDATE_SIZE_LIMITS)
|
||||||
{
|
{
|
||||||
// Preflet container view
|
// Preflet container view
|
||||||
fMainView = new PrefletView(this);
|
fMainView = new PrefletView(this);
|
||||||
fMainView->SetBorder(B_NO_BORDER);
|
fMainView->SetBorder(B_NO_BORDER);
|
||||||
|
fMainView->SetExplicitMaxSize(BSize(B_SIZE_UNLIMITED, B_SIZE_UNSET));
|
||||||
|
|
||||||
// Apply and revert buttons
|
// Apply and revert buttons
|
||||||
fRevert = new BButton("revert", B_TRANSLATE("Revert"),
|
fRevert = new BButton("revert", B_TRANSLATE("Revert"),
|
||||||
|
Loading…
x
Reference in New Issue
Block a user