How to configure servoy default field height

Using Servoy to administrate the content of your website? Discuss all webrelated Servoy topics on this forum!

How to configure servoy default field height

Postby dfernandez » Mon Jul 25, 2016 3:08 am

Hi,

When I create a form and include some fields, they are created with height 20. What should I do to configure 30 for the height as default?

Regards
dfernandez
 
Posts: 60
Joined: Wed Feb 29, 2012 4:04 pm

Re: How to configure servoy default field height

Postby huber » Tue Jul 26, 2016 2:17 pm

+1
Supporting that idea, would also like to configure defaults for common objects like fields, check- and radio-boxes, buttons, ...

Regards,
Robert Huber
7r AG, Switzerland
SAN Developer
http://www.seven-r.ch
User avatar
huber
 
Posts: 248
Joined: Mon May 14, 2012 11:31 pm

Re: How to configure servoy default field height

Postby Bernd.N » Wed Jul 27, 2016 11:33 am

+1
To make it perfect, it would be great if one could set up three default heights:
- for labels and fields in detail forms
- for labels (=headers) in table forms
- for fields (=rows) in table forms

To make this run, one would have to adjust the form property "view" regarding detail/table before adding fields.

Additionally, a default for the label and field style classes would be great, also differing for detail and table forms.

Both would speed up form development considerably.
Last edited by Bernd.N on Wed Jul 27, 2016 3:12 pm, edited 1 time in total.
Bernd Korthaus
LinkedIn
Servoy 7.4.9 SC postgreSQL 9.4.11 Windows 10 Pro
User avatar
Bernd.N
 
Posts: 474
Joined: Mon Oct 21, 2013 5:57 pm
Location: Langenhorn, North Friesland, Germany

Re: How to configure servoy default field height

Postby Peter de Groot » Wed Jul 27, 2016 12:47 pm

dfernandez wrote:Hi,

When I create a form and include some fields, they are created with height 20. What should I do to configure 30 for the height as default?


Hi,

You could use templates,

2016-07-27_1246.png
2016-07-27_1246.png (4.04 KiB) Viewed 1324 times


Regards,

Peter
Servoy 7.3.x || 7.4.x

NEM ENERGY BV
Peter de Groot
 
Posts: 207
Joined: Thu Jan 10, 2008 8:38 pm
Location: Has been compromised :-/

Re: How to configure servoy default field height

Postby Bernd.N » Wed Jul 27, 2016 1:06 pm

I think when working with templates, you can not use the wizard functionality for adding several fields at once, which saves you much work regarding the data provider and name properties.
Bernd Korthaus
LinkedIn
Servoy 7.4.9 SC postgreSQL 9.4.11 Windows 10 Pro
User avatar
Bernd.N
 
Posts: 474
Joined: Mon Oct 21, 2013 5:57 pm
Location: Langenhorn, North Friesland, Germany

Re: How to configure servoy default field height

Postby dfernandez » Wed Jul 27, 2016 6:01 pm

Exactly Bernd,

Other tool we use let you set the properties for each type of control for project or global use. So, you can invest some time to define your standard and save the properties for form and controls and then every time you create or ad a control, those properties are applied, including css classes.

Servoy´s wizard to create forms is fantastic, but need to be improved to support more modern UIs, in particular the size.
dfernandez
 
Posts: 60
Joined: Wed Feb 29, 2012 4:04 pm

Re: How to configure servoy default field height

Postby Bernd.N » Wed Jul 27, 2016 6:33 pm

I also see some more improvement possibilities for the field adding wizard. For example, the i18n-text-property of labels could be generated automatically, e.g. with the rule "i18n:" + <fixedPattern> + labelFor-Property (labelFor-Property would be identical to the dataprovider of the associated field). That would save a lot of work regarding i18n.

Additionally, it would be really smart if the wizard would set the field width according to the field type. For example, if the wizard would set a date field, it could set a predefined width where the date would fit nicely. Or a text field width could be set according to the number of characters.

I dream also of the ability to tell the form wizard the order of the fields that I want to set on the form, so that I do not have to move all the fields around manually.
For example for the usual address fields of business partners:
1. bp_name
2. bp_street
3. bp_zipcode
4. bp_city
...

When making the form wizard that smart, new forms could be created in less than half of the time that is needed currently.
Bernd Korthaus
LinkedIn
Servoy 7.4.9 SC postgreSQL 9.4.11 Windows 10 Pro
User avatar
Bernd.N
 
Posts: 474
Joined: Mon Oct 21, 2013 5:57 pm
Location: Langenhorn, North Friesland, Germany

Re: How to configure servoy default field height

Postby dfernandez » Wed Jul 27, 2016 7:17 pm

+1
dfernandez
 
Posts: 60
Joined: Wed Feb 29, 2012 4:04 pm

Re: How to configure servoy default field height

Postby patrick » Thu Jul 28, 2016 11:27 am

Sounds like some nice ideas to improve the product. Would any of you voters create a case for this?
Patrick Ruhsert
Servoy DACH
patrick
 
Posts: 3594
Joined: Wed Jun 11, 2003 10:33 am
Location: Munich, Germany

Re: How to configure servoy default field height

Postby Bernd.N » Thu Jul 28, 2016 12:00 pm

Yes, I can do that.
Bernd Korthaus
LinkedIn
Servoy 7.4.9 SC postgreSQL 9.4.11 Windows 10 Pro
User avatar
Bernd.N
 
Posts: 474
Joined: Mon Oct 21, 2013 5:57 pm
Location: Langenhorn, North Friesland, Germany

Re: How to configure servoy default field height

Postby patrick » Thu Jul 28, 2016 12:45 pm

No case, no improvements ;-)
Patrick Ruhsert
Servoy DACH
patrick
 
Posts: 3594
Joined: Wed Jun 11, 2003 10:33 am
Location: Munich, Germany

New cases

Postby Bernd.N » Thu Jul 28, 2016 1:38 pm

Place Field Wizard: smart defaults for height, length and style for new fields and labels
https://support.servoy.com/browse/SVY-10209

Place Field Wizard: Choosing the field order right away
https://support.servoy.com/browse/SVY-10211

Place Field Wizard: automatic i18n setting of text property for labels
https://support.servoy.com/browse/SVY-10210
Bernd Korthaus
LinkedIn
Servoy 7.4.9 SC postgreSQL 9.4.11 Windows 10 Pro
User avatar
Bernd.N
 
Posts: 474
Joined: Mon Oct 21, 2013 5:57 pm
Location: Langenhorn, North Friesland, Germany

Re: How to configure servoy default field height

Postby lwjwillemsen » Thu Jul 28, 2016 1:42 pm

No case, no improvements ;-)


That's bad news regarding (Servoy) improvements... :(
Lambert Willemsen
Vision Development BV
lwjwillemsen
 
Posts: 566
Joined: Sat Mar 14, 2009 5:39 pm
Location: The Netherlands

Re: How to configure servoy default field height

Postby huber » Thu Jul 28, 2016 2:18 pm

+1
Robert Huber
7r AG, Switzerland
SAN Developer
http://www.seven-r.ch
User avatar
huber
 
Posts: 248
Joined: Mon May 14, 2012 11:31 pm

Re: How to configure servoy default field height

Postby patrick » Thu Jul 28, 2016 3:27 pm

lwjwillemsen wrote:That's bad news regarding (Servoy) improvements... :(


why is that?
Patrick Ruhsert
Servoy DACH
patrick
 
Posts: 3594
Joined: Wed Jun 11, 2003 10:33 am
Location: Munich, Germany

Next

Return to Web Development

Who is online

Users browsing this forum: No registered users and 3 guests

cron