]> git.andy128k.dev Git - ipf.git/commitdiff
enlarge numeric widgets
authorAndrey Kutejko <andy128k@gmail.com>
Thu, 25 Jul 2013 17:28:42 +0000 (20:28 +0300)
committerAndrey Kutejko <andy128k@gmail.com>
Thu, 25 Jul 2013 17:28:42 +0000 (20:28 +0300)
ipf/form/db/decimal.php
ipf/form/db/double.php
ipf/form/db/integer.php

index 45d6f3ca826edb586e5dad36279c3ff8bc7e0af8..4d5624bfd80a105a00da314bdaefe4c3c12614fe 100644 (file)
@@ -1,8 +1,11 @@
 <?php
 
-class IPF_Form_DB_Decimal extends IPF_Form_DB{
-    function formField($def, $form_field='IPF_Form_Field_Float'){
-        $def['widget_attrs'] = array('style'=>'width:40px;');
+class IPF_Form_DB_Decimal extends IPF_Form_DB
+{
+    function formField($def, $form_field='IPF_Form_Field_Float')
+    {
+        $def['widget_attrs'] = array('style' => 'width:140px;');
         return parent::formField($def, $form_field);
     }
-}
\ No newline at end of file
+}
+
index 925c63f618e3246dc9eeb8213f193ef3caa52b21..11a38e317db1ea6c2b56ecaab78cca887b5e4afa 100644 (file)
@@ -1,8 +1,11 @@
 <?php
 
-class IPF_Form_DB_Double extends IPF_Form_DB{
-    function formField($def, $form_field='IPF_Form_Field_Float'){
-        $def['widget_attrs'] = array('style'=>'width:40px;');
+class IPF_Form_DB_Double extends IPF_Form_DB
+{
+    function formField($def, $form_field='IPF_Form_Field_Float')
+    {
+        $def['widget_attrs'] = array('style' => 'width:140px;');
         return parent::formField($def, $form_field);
     }
-}
\ No newline at end of file
+}
+
index d38b3fb58bfb0d1d41c62a5e5ee8470d473d91ab..a01663eca168446c01f1ee6f593aaaf69f2712b9 100644 (file)
@@ -1,8 +1,11 @@
 <?php
 
-class IPF_Form_DB_Integer extends IPF_Form_DB{
-    function formField($def, $form_field='IPF_Form_Field_Integer'){
-        $def['widget_attrs'] = array('style'=>'width:40px;');
+class IPF_Form_DB_Integer extends IPF_Form_DB
+{
+    function formField($def, $form_field='IPF_Form_Field_Integer')
+    {
+        $def['widget_attrs'] = array('style' => 'width:140px;');
         return parent::formField($def, $form_field);
     }
-}
\ No newline at end of file
+}
+