WALL-E
WALL-E

Reputation: 13

How to design UI controls like these?

https://i.sstatic.net/FmYeR.png

How are these controls(in the left) made/designed, are these just tableview with text is arranged top and bottom or some labels that imitate textbox?

Upvotes: 1

Views: 139

Answers (2)

Vervious
Vervious

Reputation: 5569

To add to Andrew Madsen's answer, the gray background that's shown when a row is clicked is probably drawn in a subclass of NSTableRowView, using - (void)drawSelectionInRect:(NSRect)dirtyRect.

Upvotes: 1

Andrew Madsen
Andrew Madsen

Reputation: 21383

This can be done relatively easily with a view-based NSTableView. It's impossible to tell from a screenshot how the app in question is actually implemented, but that would be my approach if I were starting from scratch.

Upvotes: 1

Related Questions