Increase candidate page size to 50 09/62609/1
authorLi Zhang <li2012.zhang@samsung.com>
Thu, 17 Mar 2016 03:29:13 +0000 (11:29 +0800)
committerLi Zhang <li2012.zhang@samsung.com>
Thu, 17 Mar 2016 03:45:51 +0000 (11:45 +0800)
Change-Id: I4132481df72e6b79a312ce6cd60d9e3680136cd9

wrapper/scim/src/sunpinyin_imengine.cpp

index e3557e8..f6278c1 100644 (file)
@@ -481,8 +481,8 @@ SunPyInstance::set_layout (unsigned int layout)
 void
 SunPyInstance::init_lookup_table_labels ()
 {
-    m_pv->setCandiWindowSize(10);
-    m_lookup_table->set_page_size (10);
+    m_pv->setCandiWindowSize(50);
+    m_lookup_table->set_page_size (50);
     m_lookup_table->show_cursor ();
 }
 
@@ -547,7 +547,7 @@ SunPyInstance::create_session(CHotkeyProfile *hotkey_profile)
     AttributeList attrs;
     CSunpinyinSessionFactory& factory = CSunpinyinSessionFactory::getFactory();
     factory.setPinyinScheme(CSunpinyinSessionFactory::QUANPIN);
-    factory.setCandiWindowSize(10);
+    factory.setCandiWindowSize(50);
     m_pv = factory.createSession();
     if (!m_pv) {
         SCIM_DEBUG_IMENGINE (3) << get_id() <<  " factory.createSession() failed\n";