Perfecting the look
Customize the appearance of your apps so that they use the colors you prefer and your chosen images. For instance, you may want your apps to present your logo and use colors that match your brand.
Using formatted text
When you edit text in a text box in Calcapp Creator, the inspector contains a number of toolbars and drop-downs that allow you to format the text:
Use the toolbar to toggle bold , italic , bulleted lists , numbered lists and links . The drop-down menu (that reads Paragraph in the image above) is used to change to one of three different headings.
The Formatting sections holds additional options allowing you to set the font, font size and text alignment . You can also use underlined and strikethrough text, format text as code (useful for formulas) and format paragraphs as quotes .
Type Ctrl+B to toggle bold formatting and Ctrl+I to toggle italic formatting. To access the other formatting features from your keyboard, you can type special characters. This is best exemplified with a video:
To access formatting affecting an entire block of text, type the special characters below on a new line, followed by a space:
- Heading 1. Type
- Heading 2. Type
- Heading 3. Type
- Bulleted list. Type
- Numbered list. Type
- Quote. Type
Italic and bold are accessed by typing the characters below, substituting your
- Italic. Type
- Bold. Type
- Bold and italic. Type
- Code. Type
To insert a link, select any text in a text box, using your mouse or keyboard, and then press the Ctrl+K keyboard shortcut or press the button on the formatting toolbar. Press Enter when you’re done editing a link.
By default, links go to web pages. You can also make links go to e-mail addresses and phone numbers by pressing the menu button initially labeled :
A link to an e-mail address will prompt the user to send a new e-mail to the address you specify. Optionally, you can provide a subject line for the e-mail, carbon copy (CC) and blind carbon copy (BCC) addresses as well as a message body using the Pre-filled e-mail fields section of the inspector. Separate multiple e-mail addresses with colons.
Links to phone numbers generally only work well on cell phones. Remember to include the phone number in the link text itself (or elsewhere in the text box) to enable users on desktops or tablets to call the phone number.
Inserting images in text boxes
Press the button in the toolbar to insert an image from your local hard drive. You can also drag files from a file manager (like Explorer in Windows or Finder in macOS) and drop it where you’d like to insert it. Paste an image from the clipboard by pressing Ctrl+V.
Select an image by clicking it. The inspector then shows image-specific options:
Adjust the width of an image using the Width slider. If you drag it all the way to the right, the image will fill the full width of your app with no margins.
Images are by default centered in your app. You can float an image to the left of the text by pressing the button or to the right of it by pressing the button.
Images consume storage space. You can tell how much space you have remaining in the Storage section in the inspector. All apps in your account share the same storage space. If you upload the same image many times, only the first copy consumes storage space, regardless of how many panels and apps use the image.
Storage space is currently limited to 100 MB. Future paid plans will allow you to upgrade your storage space.
Images are responsive, meaning that Calcapp stores many versions of your image with varying sizes and delivers the smallest possible image that will appear crisp on the device running your app. (Those extra copies do not count towards your storage limit.) A cell phone with a low-resolution screen will download a small, low-resolution version of an image whereas a desktop computer with a high-resolution screen will download a much larger image. As a result, we encourage you to upload versions of your images with the highest possible resolution and let Calcapp do the rest.
Apps you build run offline. To conserve space on the devices running your apps, Calcapp only stores versions of your images with a maximum width of 1000 pixels for offline use. As a result, some images may look slightly blurry when you run apps offline on devices with high-quality screens.
Making apps appear larger or smaller
Change the zoom level of an app to make its user interface appear larger or smaller. Return to the start screen to set the zoom level (press in the app designer until you reach it).
The zoom level can be set through a formula. This formula can reference a field accessible to your users (say, a number field with a slider) to enable users to set the zoom level. Be sure to make this field persistent so that the zoom level is remembered.
Using custom colors
You can change the default color theme of an app using the inspector when the start screen of your app is active (press until you reach it):
Change a color by clicking the color circles. The color picker that appears initially shows you a palette with colors that work well together. Clicking the button enables you to select any color you like.
The field in the color picker displays the name of the color. There, you can
type text like
rgb(255, 0, 0) and
100% 100% to quickly select a color using a variety of color
The app-wide colors you set here affect everything from your panels to your loading screen. You only need to set three base colors to completely change the color scheme of your app: the primary color (used for things like the navigation bar background, button labels and the loading screen background), the accent color (used for smaller areas like the thumb of a switch field) and the background color (used for the areas behind fields and buttons).
You can also change colors for invididual panels through the inspector by first making the desired panel active and then changing the colors. Individual panels give you more color options.
Here, the user registration form demonstrated elsewhere has been given a fresh coat of paint by changing just the three base colors:
When assigning colors, you can be as specific as you like. To change the color of all field labels of the current panel, for instance, expand the Calculation panel colors section in the inspector and change the relevant color. To change a color for a specific field, first select the field and then click the relevant color in the inspector. (Use the check boxes to change many fields at once.)
Colors that aren’t set are displayed as in the inspector. An undefined color defined on a panel tries to inherit the color from the preceding panel, meaning that it copies it. That means that colors set on the first panel apply to all panels of your app, unless the other panels choose their own colors. Similarly, a group tries to inherit the background color from its panel if its background color isn’t set and a field tries to inherit the background color from its group if its background color hasn’t been set.
The first panel can’t copy colors from its preceding panel, as there isn’t any. As a result, it uses the app-wide colors you set through the start screen. If an app-wide color isn’t set, a pre-defined color is used (backgrounds are white by default, for instance). A non-base color, such as the color for field labels, uses a base color if it isn’t set.
Sometimes base colors are remixed to look better in a certain context. For instance, the backdrop color (the light gray color displayed just below the navigation bar in the registration form app above) uses the background color if it isn’t set explicitly, but makes the background color darker or lighter.
Setting colors using formulas
Colors can also be set through formulas, enabling you to take input from your users into account when selecting colors. You can use this feature to make the background color of all panels red if, and only if, a key calculated value is out of range. You could also make invalid fields really stand out by changing their background colors when they become invalid, complementing the error message displayed by Calcapp’s field validation feature. You could even create a settings panel in your app where you allow your user to change the colors of your app using a drop-down field. (Be sure to make the drop-down field persistent so that your user’s choice is remembered.)
Click the fx button next to the color you want to set through a formula. The
COLOR formula function is key to selecting colors in formulas. It accepts a text
string describing a color and returns the color. It accepts the same
input as the name field in the color picker, meaning that you
can write formulas like
Combine COLOR with the IF formula function to make decisions based on user input. To make an e-mail field yellow if nothing has been entered into it, associate the following formula with its BackgroundColor property:
IF(ISBLANK(Email), COLOR("yellow"), BLANK())
Returning a blank value from a color formula (typically using the BLANK function) has the same effect as not setting a color in the inspector at all, meaning that Calcapp first tries to inherit a color and, if that fails, uses a default color. To make Calcapp skip trying to inherit a color and have it use a default color directly, use the DEFAULTCOLOR function.
There are lots of functions for modifying and creating colors you can explore using the reference sidebar. One of the most useful ones is BRIGHTEN, which makes a color brighter by a given amount, a number from 0 to 100. Setting the background color of a field is a great way to convey that a field is, say, 62 percent invalid, when the either-or mentality of Calcapp’s standard field validation isn’t enough. To make a field background white if the Validity field is 100, red if it is 0 and light red if it’s somewhere in between, use this formula connected to the BackgroundColor property of a field:
Next, learn how apps can send their collected data back to you »