I have the following on a Form...
The top number is a standard Aware attribute with a Style of Align Right applied.
The lower number is a html cell with a number I have styled. Notice here I have 5px padding to the right.
Does anyone know how I can for a standard Aware Attribute to have a little padding to the right? I need to do this for about 20 Attributes on the form.
Fiddling with Attribute Style on a Form
-
- Posts: 2407
- Joined: Mon Jul 02, 2012 12:24 am
- Location: Ulaanbaatar, Mongolia
Fiddling with Attribute Style on a Form
Cheers,
Mark
_________________
AwareIM 6.0, 8.7, 8.8, 9.0 , MariaDB, Windows 10, Ubuntu Linux. Theme: Default, Browser: Arc
Upcloud, Obsidian....
Mark
_________________
AwareIM 6.0, 8.7, 8.8, 9.0 , MariaDB, Windows 10, Ubuntu Linux. Theme: Default, Browser: Arc
Upcloud, Obsidian....
Re: Fiddling with Attribute Style on a Form
So Mark works 3,333 hours a year (around 64 hours per week) and makes $8,157,228 a year (around $156,869 per week).
-
- Posts: 619
- Joined: Wed Jun 17, 2015 11:16 pm
- Location: Omaha, Nebraska
- Contact:
Re: Fiddling with Attribute Style on a Form
A few options:eagles9999 wrote:I have the following on a Form...
The top number is a standard Aware attribute with a Style of Align Right applied.
The lower number is a html cell with a number I have styled. Notice here I have 5px padding to the right.
Does anyone know how I can for a standard Aware Attribute to have a little padding to the right? I need to do this for about 20 Attributes on the form.
1. Add a new CSS class and apply it to the form inputs
2. Override the style of the out of the box CSS class being applied to form inputs
3. Use jQuery to directly apply the style to the inputs in the form render script. Something along the lines of ... $(input).css("padding-right", "5px").
VocalDay Solutions - Agility - Predictability - Quality
We specialize in enabling business through the innovative use of technology.
AwareIM app with beautiful UI/UX - https://screencast-o-matic.com/watch/crfUrrVeB3t
We specialize in enabling business through the innovative use of technology.
AwareIM app with beautiful UI/UX - https://screencast-o-matic.com/watch/crfUrrVeB3t
Re: Fiddling with Attribute Style on a Form
I like #2. I did that for a lot of the defaults (esp. on TD cells on grids, to tighten things up.) Then I don't have to fiddle around with each form / query.
Bruce
Bruce
-
- Posts: 2407
- Joined: Mon Jul 02, 2012 12:24 am
- Location: Ulaanbaatar, Mongolia
Re: Fiddling with Attribute Style on a Form
There's something else you can show us how to do at the Conference Bruce.
Cheers,
Mark
_________________
AwareIM 6.0, 8.7, 8.8, 9.0 , MariaDB, Windows 10, Ubuntu Linux. Theme: Default, Browser: Arc
Upcloud, Obsidian....
Mark
_________________
AwareIM 6.0, 8.7, 8.8, 9.0 , MariaDB, Windows 10, Ubuntu Linux. Theme: Default, Browser: Arc
Upcloud, Obsidian....
-
- Posts: 297
- Joined: Wed Apr 22, 2015 11:44 pm
Re: Fiddling with Attribute Style on a Form
I saw this thread and was wondering just what needs to be included in my custom css to alter margins, padding, and any other attributes I might want to change for my form attributes?
What element in the default css is currently defining this?
What element in the default css is currently defining this?