@@ -200,6 +200,8 @@ FCITX_CONFIGURATION(
200200 Option<bool > animation{this , " Animation" , _ (" Animation" ), true };
201201 Option<int , IntConstrain> maxRowCount{
202202 this , " MaxRowCount" , _ (" Max row count" ), 6 , IntConstrain (2 , 10 )};
203+ Option<int , IntConstrain> maxColumnCount{
204+ this , " MaxColumnCount" , _ (" Max column count" ), 6 , IntConstrain (2 , 10 )};
203205 Option<KeyList> expand{
204206 this , " Expand" , _ (" Expand" ), {Key (FcitxKey_equal), Key (FcitxKey_Down)}};
205207 Option<KeyList> collapse{
@@ -218,6 +220,13 @@ FCITX_CONFIGURATION(
218220 Option<KeyList> pageDown{
219221 this , " PageDown" , _ (" Page down" ), {Key (FcitxKey_Page_Down)}};
220222 Option<KeyList> commit{this , " Commit" , _ (" Commit" ), {Key (FcitxKey_space)}};
223+ Option<KeyList> selectCandidate{
224+ this ,
225+ " SelectCandidate" ,
226+ _ (" Select candidate" ),
227+ {Key (FcitxKey_1), Key (FcitxKey_2), Key (FcitxKey_3), Key (FcitxKey_4),
228+ Key (FcitxKey_5), Key (FcitxKey_6), Key (FcitxKey_7), Key (FcitxKey_8),
229+ Key (FcitxKey_9), Key (FcitxKey_0)}};
221230 Option<bool > optimizeForHyperKey{this , " OptimizeForHyperKey" ,
222231 _ (" Optimize for Hyper key" ), true };);
223232
@@ -311,6 +320,9 @@ FCITX_CONFIGURATION(
311320 Option<int , IntConstrain> verticalMinWidth{this , " VerticalMinWidth" ,
312321 _ (" Vertical minimum width (px)" ),
313322 200 , IntConstrain (0 , 960 )};
323+ Option<int , IntConstrain> scrollCellWidth{this , " ScrollCellWidth" ,
324+ _ (" Scroll cell width (px)" ), 65 ,
325+ IntConstrain (40 , 100 )};
314326 Option<int , IntConstrain> horizontalDividerWidth{
315327 this , " HorizontalDividerWidth" , _ (" Horizontal divider width (px)" ), 1 ,
316328 IntConstrain (0 , BORDER_WIDTH_MAX)};);
0 commit comments