if (__topBottomItemEnabled == true && (groupIndex == 0 || groupIndex == GetGroupCount() - 1))
{
pItem->Construct(Dimension(itemWidth, H_GROUP_ITEM_MINIMUM));
+ __pGroupedListViewDeleteList->SetItemEnabled(groupIndex, -1, false);
return pItem;
}
pItem->SetTextColor(Color(COLOR_GROUP_ITEM_TEXT));
}
+ __pGroupedListViewDeleteList->SetItemEnabled(groupIndex, -1, true);
return pItem;
}
EventEditorForm::OnSectionTableViewItemStateChanged(SectionTableView& tableView, int sectionIndex, int itemIndex,
TableViewItem* pItem, TableViewItemStatus status)
{
- pItem->SetFocus();
+ //pItem->SetFocus();
LinkedList* pList = null;
switch (sectionIndex)
{
result
ListPanel::Update(void)
{
+ int initialcount = __pGroupedListViewEventsList->GetGroupCount();
result r = __pGroupedListViewEventsList->UpdateList();
+ int finalcount = __pGroupedListViewEventsList->GetGroupCount();
+ if (initialcount != finalcount)
+ {
+ __pGroupedListViewEventsList->ExpandAllGroups();
+ }
if (r == E_SUCCESS)
{
static const int H_REMINDER_TYPE_BUTTON_TIME_UNIT = 74;
static const int X_TIME_UNIT_SELECTOR = 400;
static const int Y_TIME_UNIT_SELECTOR = 1050;
-
+static const int W_RADIO_APPROX = 70;
static const int MAX_REMINDER_TIME_UNIT = 99;
ReminderForm::ReminderForm(void)
pItem->SetIndividualSelectionEnabled(__pButtonReminderTimeUnit, __reminderType == REMINDER_TYPE_CUSTOM);
x += __pButtonReminderTimeUnit->GetWidth();
- pText->Construct(Rectangle(x, 0, itemWidth - x, H_REMINDER_ITEM), ResourceManager::GetString(IDS_CLD_BODY_BEFORE_LC));
+ pText->Construct(Rectangle(x, (H_REMINDER_ITEM - FONT_SIZE_REMINDER_TYPE_CUSTOM)/2, itemWidth - x - W_RADIO_APPROX, FONT_SIZE_REMINDER_TYPE_CUSTOM), ResourceManager::GetString(IDS_CLD_BODY_BEFORE_LC));
__pLabelBefore = pText;
break;
}