Enable/disable fixed tab width

General questions regarding the usage of CodeLite
marfi
CodeLite Expert
Posts: 159
Joined: Mon Nov 03, 2008 9:17 pm
Contact:

Enable/disable fixed tab width

Post by marfi »

Hi,
please, is there any way how to disable fixed width in notebooks' tabs? I use the latest SVN revision and the new look (fixed width) caused that some of (previously visible) panels in output notebook aren't visible anymore (now I must use notebook's dropdown menu). Is there any reason why to waste space with loooooooooooooooong tabs containing short labels?

Best regards
marfi
User avatar
eranif
CodeLite Plugin
Posts: 6375
Joined: Wed Feb 06, 2008 9:29 pm
Genuine User: Yes
IDE Question: C++
Contact:

Re: Enable/disable fixed tab width

Post by eranif »

If u r using the SVN sources, open file output_pane.cpp line 73, and remove the flag: wxVB_FIX_WIDTH - compile and re-install codelite.

The width of the tabs are determined by the widest tab label (i.e. Replace Results) - I will make this optional.

Eran
Make sure you have read the HOW TO POST thread
User avatar
eranif
CodeLite Plugin
Posts: 6375
Joined: Wed Feb 06, 2008 9:29 pm
Genuine User: Yes
IDE Question: C++
Contact:

Re: Enable/disable fixed tab width

Post by eranif »

Hi Marfi,

I committed a new code into the SVN trunk which allows user to customize each notebook: for now, you can: change the tab orientation OR enable / disable fixed tab width.

With the current revision, you can disable the fixed width tabs but it will not be saved for the next restart (this will be committed later on).

To use this functionality, simply use the little arrow button on the left of the tab bar in addition to the open files, you will see at the bottom new option: 'customize...' which opens the customization dialog

Eran
Make sure you have read the HOW TO POST thread
marfi
CodeLite Expert
Posts: 159
Joined: Mon Nov 03, 2008 9:17 pm
Contact:

Re: Enable/disable fixed tab width

Post by marfi »

Thank you very much for this patch. I'm looking forward for the full update (now I'm using modified sources accordingly to your previous advice).
Best regards
Michal
User avatar
eranif
CodeLite Plugin
Posts: 6375
Joined: Wed Feb 06, 2008 9:29 pm
Genuine User: Yes
IDE Question: C++
Contact:

Re: Enable/disable fixed tab width

Post by eranif »

You could do SVN update and use the new 'customize' option available for each notebook (using the drop down button)
Eran
Make sure you have read the HOW TO POST thread
Post Reply