Home > Domino Tips > Developer > Formula > Spacing columns in the client
Domino Tips:
EMAIL THIS
 TIPS & NEWSLETTERS TOPICS 

FORMULA

Spacing columns in the client


Bruce Guthrie
03.24.2003
Rating: -3.10- (out of 5)


Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us   


View member feedback to this tip.

When you have one column of data right aligned and the next left aligned, you'll find that the text bleeds together and you need to add spaces between them. There are several ways to do this but, if you're designing this view for client-use only, the easiest way is to fake out the system using the column properties.



Code

When you've got a view with two contiguous columns notice the following:
The text of the first is justified right and the next is justified left. The text is basically flush against one another.

The typical approaches to fix this are to (a) swap columns around, (b) put in a blank column (one defined as containing a " "--and make sure that the font of this column matches the font for the other columns or the between-line spacing gets weird), (c) changing your alignment, or (d) changing the formula of the second column so you can put a blank in front of it. These approaches are all valid and they work fine on the web.

If you're designing this view for client-only use, however, the easiest thing to do though is to change the column characteristics for the second column. Click on "Show twistie when row is expandable". This causes the system to reserve about 12 pixels before the text for the twistie icons. Since the column is not categorized, the twistie won't be shown but the gap will. (The category header won't be adjusted but if that bothers you, you can just add some spaces in front of the text of that.)

This approach doesn't help with views done on the Web however. For those instances, I still typically use the blank column approach.


MEMBER FEEDBACK TO THIS TIP

I use the type of formatting he mentioned on a regular basis, but rather than inserting a blank column, I simply select the second column and go to Text Properties. On the third tab, I set the left margin at 0.1". Now both columns are nicely separated, and I don't have to deal with a third column!

-- Bil M.


Do you have comments of your own? Let us know.


Rate this Tip
To rate tips, you must be a member of SearchDomino.com.
Register now to start rating these tips. Log in if you are already a member.




Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us   



RELATED CONTENT
Formula
View hidden fields on Lotus Notes/Domino forms
Case-insensitive @Unique version combines fields on Lotus Notes forms
Provide rich-text formatting via the Profile document and Formula
Using Formula language code to sort Lotus Notes messages by subject
How to create dynamic JavaScript in Notes Domino without formulas
Formula language button manages Deny Access list searches
Retrieve Lotus Notes names from a nested group using @DBLookup
Create a computed Lotus Notes field to list Personal Address Book names
Show multiple Lotus Notes document fields in a single view column
How to send a document as a link in a Lotus Notes email

Lotus Notes Domino Formula Language
View hidden fields on Lotus Notes/Domino forms
Case-insensitive @Unique version combines fields on Lotus Notes forms
Do I use Formula or LotusScript to include a doclink to a Notes view?
Top 10 Lotus Notes/Domino coding and development tips of 2008
Provide rich-text formatting via the Profile document and Formula
Top 10 Formula language tips
Using Formula language code to sort Lotus Notes messages by subject
How to create dynamic JavaScript in Notes Domino without formulas
Stop response documents from showing in a Lotus Notes form
Formula language button manages Deny Access list searches

RELATED RESOURCES
2020software.com, trial software downloads for accounting software, ERP software, CRM software and business software systems
Search Bitpipe.com for the latest white papers and business webcasts
Whatis.com, the online computer dictionary

DISCLAIMER: Our Tips Exchange is a forum for you to share technical advice and expertise with your peers and to learn from other enterprise IT professionals. TechTarget provides the infrastructure to facilitate this sharing of information. However, we cannot guarantee the accuracy or validity of the material submitted. You agree that your use of the Ask The Expert services and your reliance on any questions, answers, information or other materials received through this Web site is at your own risk.



Domino & Lotus Notes Security Solutions: Authentication, Antispam, Encryption and Antivirus
HomeTopicsITKnowledge ExchangeTipsAsk the ExpertsMultimediaWhite PapersDomino IT Downloads
About Us  |  Contact Us  |  For Advertisers  |  For Business Partners  |  Site Index  |  RSS
SEARCH 
TechTarget provides technology professionals with the information they need to perform their jobs - from developing strategy, to making cost-effective purchase decisions and managing their organizations' technology projects - with its network of technology-specific websites, events and online magazines.

TechTarget Corporate Web Site  |  Media Kits  |  Site Map




All Rights Reserved, Copyright 1999 - 2009, TechTarget | Read our Privacy Policy
  TechTarget - The IT Media ROI Experts