UI: enable add contact button and add ellipsis for contacts overflow
- adds contact button functionality
- adds ellipsis for any overflow of the contact names
- removes extra columns on the message send textbox
on the MessagePage
Change-Id: Ib20a20f52cfdfae933d67a6726ed525db8ec0604
diff --git a/SmartPanel.xaml.cpp b/SmartPanel.xaml.cpp
index 13d7af7..a61c161 100644
--- a/SmartPanel.xaml.cpp
+++ b/SmartPanel.xaml.cpp
@@ -293,6 +293,12 @@
}
}
+void RingClientUWP::Views::SmartPanel::_ringTxtBx__Click(Platform::Object^ sender, Windows::UI::Xaml::Input::KeyRoutedEventArgs^ e)
+{
+ ContactsViewModel::instance->addNewContact(_ringTxtBx_->Text, _ringTxtBx_->Text);
+ _ringTxtBx_->Text = "";
+}
+
// REFACTO : change the name IncomingCall if used with OutGoingCall too.
void RingClientUWP::Views::SmartPanel::_rejectIncomingCallBtn__Click(Platform::Object^ sender, Windows::UI::Xaml::RoutedEventArgs^ e)
{