From 6857041feef88251b37780011fe4293647502b3f Mon Sep 17 00:00:00 2001 From: Li Zhang Date: Thu, 17 Mar 2016 11:29:13 +0800 Subject: [PATCH] Increase candidate page size to 50 Change-Id: I4132481df72e6b79a312ce6cd60d9e3680136cd9 --- wrapper/scim/src/sunpinyin_imengine.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/wrapper/scim/src/sunpinyin_imengine.cpp b/wrapper/scim/src/sunpinyin_imengine.cpp index e3557e8..f6278c1 100644 --- a/wrapper/scim/src/sunpinyin_imengine.cpp +++ b/wrapper/scim/src/sunpinyin_imengine.cpp @@ -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"; -- 2.7.4