adjust the size of the Bricxcc templates pop up window ?

Discussion specific to NXT-G, NXC, NBC, RobotC, Lejos, and more.
afanofosc
Site Admin
Posts: 1256
Joined: 26 Sep 2010, 19:36
Location: Nashville, TN
Contact:

Re: adjust the size of the Bricxcc templates pop up window ?

Post by afanofosc »

I think there is confusion about which window Doc is talking about.

The "popup window" is actually a "popup" menu and it is not resizeable except that you can edit the templates and put in column break tokens to reduce the popup menu height. This "window" is only shown if you check the "Show popup menu with templates" option on the Editor|Options tab in the Preferences dialog (which I prefer to leave unchecked). If this option is checked then a right click on the Editor window will show the popup menu with templates in it.

If Doc is talking about the F9 View|Templates window then the window is resizeable and BricxCC remembers its last size and position. Like any resizeable window it can be maximized and resized. It can also be docked next to (i.e., above, below, or beside) the Code Explorer window on the left of the editor area on the main BricxCC window. I always run with the F9 Templates window docked below the Code Explorer window. This window shows templates in a tree structure that is defined using a single level of grouping tokens in the templates file. A "-" or a "|" defines a category or group of API functions. The "|" is used to also force a column break in the popup templates window. You could change all the "-" into "|" and each category would start on a new column in the popup menu.

The way templates work was originally defined by Mark Overmars and I have left it almost entirely unchanged since then. The whole templates system could definitely benefit from a complete overhaul/redesign.

John Hansen
Multi-platform LEGO MINDSTORMS programming
http://bricxcc.sourceforge.net/
mattallen37
Posts: 1818
Joined: 02 Oct 2010, 02:19
Location: Michigan USA
Contact:

Re: adjust the size of the Bricxcc templates pop up window ?

Post by mattallen37 »

Another thing you could try, is to drag the templates window up higher than normal, drag up the bottom, then drag the window back down. If you still don't have the clearance you need, then make sure your taskbar auto-hides (you can change it back once you adjust the templates window).
Matt
http://mattallen37.wordpress.com/

I'm all for gun control... that's why I use both hands when shooting ;)
mattallen37
Posts: 1818
Joined: 02 Oct 2010, 02:19
Location: Michigan USA
Contact:

Re: adjust the size of the Bricxcc templates pop up window ?

Post by mattallen37 »

Oh, ok. I didn't know there were two templates options.
Matt
http://mattallen37.wordpress.com/

I'm all for gun control... that's why I use both hands when shooting ;)
HaWe
Posts: 2500
Joined: 04 Nov 2014, 19:00

Re: adjust the size of the Bricxcc templates pop up window ?

Post by HaWe »

John Hansen wrote:"popup window" is actually a "popup" menu and it is not resizeable except that you can edit the templates and put in column break tokens to reduce the popup menu height. This "window" is only shown if you check the "Show popup menu with templates" option on the Editor|Options tab in the Preferences dialog (which I prefer to leave unchecked). If this option is checked then a right click on the Editor window will show the popup menu with templates in it.
yes, that's actually what I'm talking about!
How can I see and access all contents?
afanofosc
Site Admin
Posts: 1256
Joined: 26 Sep 2010, 19:36
Location: Nashville, TN
Contact:

Re: adjust the size of the Bricxcc templates pop up window ?

Post by afanofosc »

Your best bet is to edit the templates so that they work like you want them to work and save that off somewhere so even if you restore the BricxCC defaults you can reload your favorite set via the Load button on the Templates tab of the Preferences dialog. For the popup menu to show everything you can do like I said above and change - to | so that you get a column break after each section and delete all the templates you do not regularly use so that what you want to access easily is completely visible on the screen.

John Hansen
Multi-platform LEGO MINDSTORMS programming
http://bricxcc.sourceforge.net/
HaWe
Posts: 2500
Joined: 04 Nov 2014, 19:00

Re: adjust the size of the Bricxcc templates pop up window ?

Post by HaWe »

ok, thanks
I actually don't have favourites, this pop up window could be only useful to me if I had no idea how the NXC keyword might be and I needed an overview of what might be possible.
until recently I already didn't have any knowledge about the existance of that pop up window. I didn't need it so far , most of it is visible though, but it's not that important, so thanks anyway.
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests