UITableViewCell: Text with styled lines inside label

my purpose is to display a UITableView with cells with a style like: TextA - bold text with a big font size TextB - bold text with a small font size TextC - normal text with the same font size of...

How to get table target cell inside tableView:heightForRowAtIndexPath:?

I am trying to get variable-height table cells implemented and what I thought would be an elegant solution turned out into a recursion/stack overflow: - (CGFloat)tableView:(UITableView...

Good architecture for drawing shapes

For my software engineering object-oriented design class, we are tasked with implementing a simple "Paint" application that can draw simple things like Ellipses, Rectangles, Lines, Free-form...

Design table-like custom interface without UITableView

I want to create an interface with the look and feel of a table. (e.g. somewhat similar to http://stephenmartin.me/iphone-form-field-design-patterns) My app is going to display a form with...

Create guitar chords editor in WPF (from RichTextBox?)

Main purpose of application I'm working on in WPF is to allow editing and consequently printing of songs lyrics with guitar chords over it. You have probably seen chords even if you don't play any...

Editable text inside UISegmentedController

I want to have a UISegmentedController but the user can choose the segment and change the text inside. Is there any way to do that? Thanks. EDIT: This is what I would like to do. I have users...

Custom back button for NavigationController for every screen

I have been trying to subclass the UINavigationController class for modifying things like background image, navigation bar size, back button, tittle font and so on. After a couple of hours and a...

ANTLR best way to include meta-data in lexing/parsing (custom objects, kind of annotation)

I plan to include text metadata (like bold, font-size, etc.) in the process of parsing to achieve better recognition. For instance, I have a given structure, where a word on its own line word/r/n...

Is There An Open Source XSLT To Convert a WPF FlowDocument to WordML?

I want to use a WPF RichTextBox which allows users to edit and format text. This formatted text will eventually work its way into a Word document along with some of our other custom XML...

Scalable themes in qooxdoo

I'm developing an interactive full-screen application using qooxdoo Desktop. The application should deliver consistent user experience on multiple devices, from 1024x600 netbooks to modern...

LESS: using font-awesome in :before

I want to have a CSS selector for a header with custom font, color and a bullet to the left. So I want my header to use my custom font, and it's :before pseudo-element to use font-awesome. So I...

Custom attributes/properties for cells in excel?

I'm interested in making an Excel cell formatting macro that allows me to scroll through different options (different font/cell colors, different border types, etc.). I know that I could...

How to use custom typeface for vertex labels in python igraph?

In R igraph, there is an easy way to set a custom typeface for vertex labels and other texts on graph plots: plot(G,vertex.label.family="DINPro") However as I see, vertex_label_family parameter...

Sizing Text Bitmap for Android Home Screen Widget

I would like to create a home screen widget that uses a custom font to display a paragraph of text. Right now, the method I am using the draw the text is by inflating a layout used by the text,...

How to display form output in the same window and hide the form as well

I have been beating my head on it since yesterday but to no avail. What I need to do is make a form and display custom greeting cards. We are allowed to use pictures as cards (set them as...

Wordpress - Uncaught SyntaxError: Unexpected token <

I am enqueue scripts in a child theme with this... function child_theme_scripts() { wp_enqueue_script( 'script-name', get_template_directory_uri() . '/js/custom-child.js', array(),...

Eureka Forms for iOS - variable row height?

All -- I’ve just started using Eureka forms builder on an iOS project, and it has a lot of wonderful features. It’s very nicely done. However, I eventually realized that there doesn’t seem...

WPF Custom Control with Colour Animation Between User-Settable Values

I've been trying to make a custom control that represents an alarm annunciator. visually, the control is quite simple and looks something like this: The important design criteria for the...

is there a standard ruby / rails way to convert "yes","no, "true", "false" to true, false (like yaml does)

I am not asking for "humanize boolean". The scenario in a short: I have different (html/css) templates, for my customers. This templates are good or not good for different problems. eg. If the...

Java Nimbus Look and Feel per component customization ("Nimbus.Overrides") - other instances affected too

I am new to Java Nimbus Look and Feel. I am trying to use the ability of Nimbus to customize individual component instances using putClientProperty("Nimbus.Overrides", overrides):...

Zurb Foundation Emails link to remote hosted Fonts

I'm working on a newsletter with the boilerplate zurb foundation and trying to link to externally hosted fonts. But it seems like, the links get lost because all styles get inlined. So my question...

How to mix component level scss and global styles in nextjs

I am using Font Awesome in my project and want to change the styling of a component when the user clicks on it. Here is the React code: <div role="button" onClick={() =>...