Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Extensions to Cappuccino
Objective-J JavaScript PHP
Branch: master

Fixed: size of _SCImageAndStyledTextView was not calculated correctly.

Previously, _CPImageAndTextView was allowed to calculate the size of the view based on the text. Unfortunately it was calculating based on the size of the markup, not on the size of the formatted text.

This commit precalculates the formatted text size (_textSize), which forces _CPImageAndTextView to use that size when positioning the view.
latest commit 146afa3c9e
@aparajita authored

README.md

SCKit

SCKit is a collection of utility classes for Cappuccino.

SCString

An awesome string template engine. Handles both simple and extremely complex string formatting needs.

SCURLConnection

A drop-in replacement for CPURLConnection that is much easier to use.

SCJSONPConnection

A drop-in replacement for CPJSONPConnection that is much easier to use.

SCConnectionUtils

A set of utilities for dealing with connection errors. Used by SCURLConnection and SCJSONPConnection.

SCStyledTextField

A drop-in replacement for CPTextField that allows you to format the output with html tags in the value.

SCBorderView

To be documented.

Usage

To see what build options are available, use jake help.

Examples

To see SCString and SCURLConnection in action, do the following:

  1. From the main directory, run jake all. This will build SCKit and make it available to applications.
  2. Install LPKit on your system. You might try this version.
  3. In a terminal, cd into the Tests directory.
  4. Execute capp gen -lf -F SCKit -F LPKit . in a terminal.
  5. Make the Tests directory accessible via a web server that supports PHP, and load index-debug.html.
Something went wrong with that request. Please try again.