Author Topic: Tab panel width  (Read 3291 times)

Offline t0123

  • Single posting newcomer
  • *
  • Posts: 2
Tab panel width
« on: June 22, 2015, 08:55:51 am »
Hi all,

I am having the following problem.
In editor, the headers of tab panels display the full path and name of the opened files.
Due to this, I cannot see many tabs on the screen, in order to quickly switch between them by clicking with mouse.
To do this I have to either reopen the same file from the files tree or use a small arrow on the left side of tabs panel to scroll to the needed tab.

Is it possible to overcome this issue by for example changing the width of tab headers?

Cheers,
Vitaliy

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 13413
    • Travis build status
Re: Tab panel width
« Reply #1 on: June 22, 2015, 09:31:45 am »
Settings -> Editor -> General -> Other editor settings -> name only (at the bottom).

@devs: Would you mind if I switch the default for this option?
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]

Offline t0123

  • Single posting newcomer
  • *
  • Posts: 2
Re: Tab panel width
« Reply #2 on: June 22, 2015, 09:59:54 am »
Thanks, it works! :)

I think the default for this option makes more sense than the full path.

Cheers,
Vitaliy

Offline ollydbg

  • Developer
  • Lives here!
  • *****
  • Posts: 5917
  • OpenCV and Robotics
    • Chinese OpenCV forum moderator
Re: Tab panel width
« Reply #3 on: June 23, 2015, 04:31:52 pm »
@devs: Would you mind if I switch the default for this option?
I use short name myself. so, I am ok with this change.
If some piece of memory should be reused, turn them to variables (or const variables).
If some piece of operations should be reused, turn them to functions.
If they happened together, then turn them to classes.

Offline MortenMacFly

  • Administrator
  • Lives here!
  • *****
  • Posts: 9694
Re: Tab panel width
« Reply #4 on: July 29, 2015, 07:28:25 am »
@devs: Would you mind if I switch the default for this option?
I use short name myself. so, I am ok with this change.
Me, too.

However, one thing I've noticed: Previously, when hovering over the tab the full path name was shown as hint. This does not work for me anymore on Windows. When switching to short path having this feature "back again" would make most sense.
Compiler logging: Settings->Compiler & Debugger->tab "Other"->Compiler logging="Full command line"
C::B Manual: https://www.codeblocks.org/docs/main_codeblocks_en.html
C::B FAQ: https://wiki.codeblocks.org/index.php?title=FAQ

Offline ollydbg

  • Developer
  • Lives here!
  • *****
  • Posts: 5917
  • OpenCV and Robotics
    • Chinese OpenCV forum moderator
Re: Tab panel width
« Reply #5 on: July 31, 2015, 04:37:19 pm »
However, one thing I've noticed: Previously, when hovering over the tab the full path name was shown as hint. This does not work for me anymore on Windows.
On the latest nightly build rev10341, sometimes, it shows the hints. See image shot below:

But most of the time, it doesn't. I guess it is a bug.

If some piece of memory should be reused, turn them to variables (or const variables).
If some piece of operations should be reused, turn them to functions.
If they happened together, then turn them to classes.

Offline MortenMacFly

  • Administrator
  • Lives here!
  • *****
  • Posts: 9694
Re: Tab panel width
« Reply #6 on: August 18, 2015, 07:46:59 pm »
Weird.it does never for me...
Compiler logging: Settings->Compiler & Debugger->tab "Other"->Compiler logging="Full command line"
C::B Manual: https://www.codeblocks.org/docs/main_codeblocks_en.html
C::B FAQ: https://wiki.codeblocks.org/index.php?title=FAQ