Home Download Buy Blog Forum Support

QuickPanel MonoSpace

QuickPanel MonoSpace

Postby jbrooksuk on Fri Aug 26, 2011 9:14 am

Never mind.

By the way, there is an error in the docs.

Code: Select all
sublime.QUICK_PANEL_MONOSPACE_FONT

Should be:
Code: Select all
sublime.MONOSPACE_FONT


I have another question too.

How can I get the QuickPanel to show up each item on one line, like Sublimator tends to do.
jbrooksuk
 
Posts: 761
Joined: Sun Apr 11, 2010 10:37 am
Location: England

Re: QuickPanel MonoSpace

Postby jps on Fri Aug 26, 2011 9:26 am

The docs you're looking for are: http://www.sublimetext.com/docs/2/api_reference.html

Passing an array of string arrays as the first argument to show_quick_panel() will give you the sub-rows.
jps
Site Admin
 
Posts: 3062
Joined: Wed Mar 19, 2008 12:33 pm

Re: QuickPanel MonoSpace

Postby jbrooksuk on Fri Aug 26, 2011 9:32 am

jps wrote:The docs you're looking for are: http://www.sublimetext.com/docs/2/api_reference.html

Passing an array of string arrays as the first argument to show_quick_panel() will give you the sub-rows.

Woops.

Ah yes, I can get the sub rows, but how do I make one row, format with spaces between? I assume it's a tab character?
jbrooksuk
 
Posts: 761
Joined: Sun Apr 11, 2010 10:37 am
Location: England

Re: QuickPanel MonoSpace

Postby jps on Fri Aug 26, 2011 10:02 am

I'd assume he just uses the right number of spaces to make things line up
jps
Site Admin
 
Posts: 3062
Joined: Wed Mar 19, 2008 12:33 pm


Return to Plugin Development

Who is online

Users browsing this forum: No registered users and 4 guests