Preferences: Turn stubthreshold back into a combo box
authorThis, that and the other <at.light@live.com.au>
Mon, 21 Jul 2014 07:38:39 +0000 (17:38 +1000)
committerBartosz Dziewoński <matma.rex@gmail.com>
Tue, 22 Jul 2014 15:50:24 +0000 (15:50 +0000)
Currently it's an insanely tall list box. All the other settings on this
page use combo boxes, so we should be consistent.

After it was changed from 'selectorother' to 'select' in I88212703
and support for 'size' in HTMLSelectField was enabled in I7ac345e1,
the size defines the height of the select box instead of the width of
the text input field.

Bug: 68313
Change-Id: Id42a62e78fc2fee741bb02b88dc14cbb1b63635a

includes/Preferences.php

index 482c24b..b4bb6de 100644 (file)
@@ -750,7 +750,6 @@ class Preferences {
                        'type' => 'select',
                        'section' => 'rendering/advancedrendering',
                        'options' => $stubThresholdOptions,
-                       'size' => 20,
                        'label-raw' => $context->msg( 'stub-threshold' )->text(), // Raw HTML message. Yay?
                );