Author Topic: Where is the toolbar separator?  (Read 3857 times)

Ding Zhaojie

  • Senior Community Member
  • Posts: 194
  • Hero Points: 37
Where is the toolbar separator?
« on: April 28, 2008, 01:43:16 AM »
I'm customing my toolbars in v13, but I can't find the toolbar separators. In old versions the "space control" contains a separator in it, but in v13 the "space control" is just space without anything.

How to get the separators back?

Ding Zhaojie

  • Senior Community Member
  • Posts: 194
  • Hero Points: 37
Re: Where is the toolbar separator?
« Reply #1 on: April 29, 2008, 01:29:52 AM »
OK, I find it:

tbprops.e Line 810:

Code: [Select]
      while( child.p_object==OI_IMAGE && child.p_picture==0 &&
             gtwSpecialControlTab._indexin(child.p_message) ) {

Just change it back to:
Code: [Select]
      while( child.p_object==OI_IMAGE && child.p_picture==0 &&
             gtwSpecialControlTab._indexin(child.p_message) ) {
likes in v12, the toolbar separator is back! But I don't know why v13 changed the code?
« Last Edit: April 29, 2008, 01:32:58 AM by Ding Zhaojie »

Sandra

  • SlickEdit Team Member
  • Senior Community Member
  • *
  • Posts: 754
  • Hero Points: 36
Re: Where is the toolbar separator?
« Reply #2 on: April 29, 2008, 01:30:03 PM »
It was changed to fix a different problem, namely the issues caused by resizing toolbar icons.  But of course, something else got broken.  Here's a slight variation on your fix that should take care of both issues.
Code: [Select]
  while( child.p_object==OI_IMAGE && child.p_picture==0 &&
         gtwSpecialControlTab._indexin(lowcase(child.p_message))) {

Thanks for catching this!