Platform
Learn
Community
Support
Partner Center
Sign up
or
Log in
logout
Account Settings
Profile
messages
Messages
logout
Logout
Platform
Home
Downloads
IPP
Licensing
Project Sizing
Learn
Training
Documentation
Evaluation Guide
What's New
Community
Home
Forums
Forge
Ideas
Members
Support
Partner Guide
Resources Library
Opportunities
Account Management
Sign up
or
Log in
Home
Forums
Forge
Ideas
Members
Dear ,
What would improve your OutSystems Community experience? Let us know by taking this 2-minute survey.
Pick up the survey
Community
›
Forums
›
Technology & Integration
Grid widths in Theme London
Community
›
Forums
›
Technology & Integration
Grid widths in Theme London
New Post
New Post
Alexandre Scheurkogel
Posted on 2015-02-05
Alexandre Scheurkogel
Rank: #2540
Posted on 2015-02-05
I've been digging around in Theme London Fixed, and came around a strange bit of CSS I don't understand the intent behind.
.ThemeGrid_Width2 {
width: 140px;
}
Exists as a static width, which is fine, but when one uses it in a table, suddenly
th.ThemeGrid_Width2, td.ThemeGrid_Width2 {
width: 160px;
}
applies, which is quite wierd?
Why is the grid width over-written in a table?
Tiago Simões
Posted on 2015-02-05
Tiago Simões
Rank: #5
Posted on 2015-02-05
Solution
Hi Alexandre,
Well spotted. Grids are used to align things on the page. You have columns, to size things, and gutters to space them. Because you can't have margins between cells, the gutter size (usually 20px) is added to the column size, and a padding right with that same size is also added. This was used by EditRecords and SowRecords for the caption size (Now that we have the Form widget that's based on containers, that is not so much needed).
Cheers,
Tiago Simões
Solution
Quick Reply
attachment
Choose File
No file chosen
Submit
Login to reply
New Post
Available Forums
Technology & Integration
News and Announcements
Forge Discussions
Meta
Community Quick Guides
Usability
Installation Troubleshooting
Personal Environment Troubleshooting
Forum Notifications
Email Digest Settings
Loading...