wpXtreme / wpdk

WordPress Development Kit
http://wpxtreme.github.io/wpdk/
Other
78 stars 19 forks source link

Width number control wrong #28

Closed Mte90 closed 10 years ago

Mte90 commented 10 years ago

With this code the number control it's very small

array(
                        'type' => WPDKUIControlType::NUMBER,
                        'label' => __( 'The sec for During or Pause Mode:', WPXYOUTUBEAD_TEXTDOMAIN ),
                        'name' => 'banner_time',
                        'value' => $custom_brunch->banner_time
                    )

for fix it i have removed width:auto to input.wpdk-form-input, textarea.wpdk-form-textarea, select.wpdk-form-select

gfazioli commented 10 years ago

@Mte90 see here

use

<?php

 array(
   'type'        => WPDKUIControlType::NUMBER,
   'id'          => 'number',
   'label'       => 'Number with size',
   'placeholder' => 'size = 28',
   'size'        => 28,
   'title'       => 'This is a true HTML 5 input type number. If your browser does not support it... upgrade your browser!'
 ),

schermata 2014-03-20 alle 17 14 43