Page 1 of 1

Tab Style and other settings

Posted: Tue Apr 13, 2021 10:19 pm
by Yaakuro

Hi CodeLite Team

I am using CodeLite IDE 15.0.0. and trying to change the "Show close button on tabs" property which is in the Preferences/Windows&Tabs menu. It is greyed out and I can't change it. Also Tab Style, Tab Height can't be changed either.
I am on Xubuntu 20.04 LTS.

Is there a trick to be able to modify those properties?

Yaakuro


Re: Tab Style and other settings

Posted: Tue Apr 13, 2021 10:43 pm
by eranif

All of these options are only applicable when using the generic tab control (which is used on Windows & macOS)
On Linux, we use the native notebook.

So non of them can be applied, except for the x button which we can enable this for Linux


Re: Tab Style and other settings

Posted: Tue Apr 13, 2021 11:09 pm
by Yaakuro

So for 15.0.x > can we at least enable that x button checkbox? Was nice to be able to disable. Do we need a new build?

Yaakuro


Re: Tab Style and other settings

Posted: Thu Jun 10, 2021 9:49 am
by zazik
eranif wrote: Tue Apr 13, 2021 10:43 pm

All of these options are only applicable when using the generic tab control (which is used on Windows & macOS)
On Linux, we use the native notebook.

So non of them can be applied, except for the x button which we can enable this for Linux

Tab Style and Tab Height were working fine on Codelite-14.0, so what's changed?


Re: Tab Style and other settings

Posted: Thu Jun 10, 2021 3:54 pm
by eranif

Since CodeLite 15, we are now using the native notebook control on Linux (get_notebook_new())
This comes with its own style and oddities.

You can choose to build CodeLite using our generic implementation by running CMake like this:

Code: Select all

cd ~/codelite
mkdir build-generic-book
cd build-generic-book
cmake .. -DCMAKE_BUILD_TYPE=Release -DCL_USE_NATIVEBOOK=0 .. -DCOPY_WX_LIBS=1
make -j$(nproc)
sudo make -j$(nproc) install

For a full build instructions (required packages and tools and such)
see here: https://docs.codelite.org/build/build_f ... ces/#linux