Jump to content


Photo

How to resize the workspace label in bbLeanBar?

bbleanbar workspace label resize

  • Please log in to reply
13 replies to this topic

#1 wsurfer0

wsurfer0

    Member

  • Members
  • PipPip
  • 10 posts

Posted 10 February 2016 - 04:33 PM

Hi all,

 

I'm using bbLean 1.17.1 on Windows XP and after configuring everything I have just one more problem:

 

the workspace label part of the toolbar (bbLeanBar) is too wide, as I have renamed my workspaces to A, B, and C. I have tried adding "bbleanbar.workspaceLabel.maxWidth" or "widthPercentage", but no luck.

 

Here is a screenshot of that part: http://postimg.org/image/e3vwej9kj/

 

Is it possible to do?

 

Thanks in advance



#2 pitkon

pitkon

    Administrator

  • Head Administrator
  • 1,333 posts
  • LocationAthens & Nafplio, Greece

Posted 11 February 2016 - 06:38 AM

Usually, that part of the toolbar can't change. By using just a few letters, like you did with A, you may reduce the width but not much.

What you CAN do, is use bbinterface instead of bbleanbar for the workspace label part. Take this part out altogether in your bbleanbar.rc, create a BBI frame and attach bbleanbar there. Then, create another frame within the main frame and give it workspace label properties. Are you familiar with bbinterface?



#3 wsurfer0

wsurfer0

    Member

  • Members
  • PipPip
  • 10 posts

Posted 11 February 2016 - 11:54 AM

I used bbinterface for the menu button, but I can't really say I'm familiar with it. So here are the steps I would know how to do: remove the worspace label from bbleanbar.rc, resize bbleanbar to make space for the new element, then ctrl+right-click on the existing bbinterface element to open that menu, then Control and then I would need your help, if you'd be so kind...

 

thanks



#4 pitkon

pitkon

    Administrator

  • Head Administrator
  • 1,333 posts
  • LocationAthens & Nafplio, Greece

Posted 11 February 2016 - 12:14 PM

I used bbinterface for the menu button, but I can't really say I'm familiar with it. So here are the steps I would know how to do: remove the worspace label from bbleanbar.rc, resize bbleanbar to make space for the new element, then ctrl+right-click on the existing bbinterface element to open that menu, then Control and then I would need your help, if you'd be so kind...

 

thanks

After you remove workspace label, you don't resize bbleanbar but bbinterface so it can hold both bbleanbar and the new frame (it's better to use a button, as I explan later) that I guess you'll want to be the same height as the bbleanbar and right next to it (on the left) so it won't even look like you are not using bbleanbar's label. Attach bbleambar to bbi and ctrl+right click on the frame to create a child button element (Interface Operations/Create New Child Control/Button). Size the button using alt+drag. Move it with Ctrl+drag.

Ctrl + right click on the button and go Control Options/Mouse Down/Blackbox Bro@m. Type this: [color=rgb(153,153,153);font-family:helvetica, verdana, sans-serif;font-size:11px;background-color:rgb(0,0,0);]@BBCore.NextWorkspace[/color]

Save and Reload configuration. That's it. Each time you click on the button you'll be moving to the next workspace. You can add any text and/or icon, if you so wish.



#5 wsurfer0

wsurfer0

    Member

  • Members
  • PipPip
  • 10 posts

Posted 11 February 2016 - 02:28 PM

Thanks, but since I already have such a button (two of them, forward and backward) it seems a bit unnecessary. Isn't there a way for it to just show the label?



#6 pitkon

pitkon

    Administrator

  • Head Administrator
  • 1,333 posts
  • LocationAthens & Nafplio, Greece

Posted 11 February 2016 - 03:13 PM

Thanks, but since I already have such a button (two of them, forward and backward) it seems a bit unnecessary. Isn't there a way for it to just show the label?

No. Sorry :(



#7 wsurfer0

wsurfer0

    Member

  • Members
  • PipPip
  • 10 posts

Posted 11 February 2016 - 03:27 PM

Ok, thank you anyway. And many thanks for that tutorial on how to make a start/menu button!



#8 pitkon

pitkon

    Administrator

  • Head Administrator
  • 1,333 posts
  • LocationAthens & Nafplio, Greece

Posted 12 February 2016 - 06:54 AM

Ok, thank you anyway. And many thanks for that tutorial on how to make a start/menu button!

You are so welcome!

And now that I think about it, do you mind trying systembarex? I think it includes an elements width option.



#9 wsurfer0

wsurfer0

    Member

  • Members
  • PipPip
  • 10 posts

Posted 12 February 2016 - 03:56 PM

I've been messing around with systembarex today, but it created more problems than it solved. It loaded into the slit and I can't get it out, it's got a menu button, but I can't put an icon there, etc. So I give up for now, tired of tinkering. It's not my main computer anyway, just a dusty old laptop with microXP installed


  • pitkon likes this

#10 wsurfer0

wsurfer0

    Member

  • Members
  • PipPip
  • 10 posts

Posted 20 February 2016 - 08:36 PM

Hi again,

 

it seems it is possible to resize the workspace label afterall, the only thing is I haven't a clue as to how I did it. I was messing around with bbleanbar and suddenly I got this:

 

http://postimg.org/image/9d02ffpqv/

 

Now that's sorted and I just need to figure out how to change the background in the windows (not Windows). Any idea?



#11 pitkon

pitkon

    Administrator

  • Head Administrator
  • 1,333 posts
  • LocationAthens & Nafplio, Greece

Posted 21 February 2016 - 09:27 AM

Hi again,

 

it seems it is possible to resize the workspace label afterall, the only thing is I haven't a clue as to how I did it. I was messing around with bbleanbar and suddenly I got this:

 

http://postimg.org/image/9d02ffpqv/

 

Now that's sorted and I just need to figure out how to change the background in the windows (not Windows). Any idea?

Couldn't tell if you resized just the label or the whole toolbar, but I take your word for it. Usually you do it by manipulating marginwidth. Is that what you did?



#12 wsurfer0

wsurfer0

    Member

  • Members
  • PipPip
  • 10 posts

Posted 23 February 2016 - 03:33 PM

Like I said, I have no idea how I did it. I did resize the toolbar, but the workspace was corrected even at 100% width. Here is my bbleanbar.rc, maybe you can find a clue:

 

# ------------------------------------------------------ # bbLeanbar 1.17 - configuration # Lines starting with # or ! are ignored # --------------------- # The items on the bar: # This builds a toolbar with tasks and tray. You can # change the order of items or uncomment some of the # currently disabled (!) items) bbleanbar.item: WorkspaceLabel bbleanbar.item: WorkspaceButtonL bbleanbar.item: WorkspaceButtonR bbleanbar.item: Tasks bbleanbar.item: CurrentOnlyButton bbleanbar.item: Tray bbleanbar.item: WindowButtonL bbleanbar.item: WindowButtonR bbleanbar.item: Clock bbleanbar.item: TaskStyleButton !bbleanbar.item: WindowLabel !bbleanbar.item: NewLine bbleanbar.item: Space # ---------------- # General Settings (ctrl-right-click menu) bbLeanBar.placement: Bottom bbLeanBar.position.x: 29 bbLeanBar.position.y: 740 bbLeanBar.widthPercent: 96 bbLeanBar.useSlit: false bbLeanBar.AutoHide: false bbleanbar.OnTop: true bbleanbar.autoRaise: true bbleanbar.snapToEdge: true bbLeanBar.pluginToggle: true bbleanbar.alpha.enabled: true bbleanbar.alpha.value: 180 # --------- # Task Tabs bbLeanBar.tasks.style: 2 bbLeanBar.tasks.maxWidth: 100 bbLeanBar.tasks.reverse: false bbLeanBar.tasks.current: true bbLeanBar.tasks.sysmenu: true bbLeanBar.tasks.drawBorder: true ------------ # Icons bbLeanBar.smallIcons: true bbLeanBar.smallIcons.OnTop: true bbLeanBar.icon.saturation: 300 bbLeanBar.icon.hue: 0 # ------------ # Clock-Format bbLeanBar.strftimeFormat: %d %a %#H:%M # --------------- # Special Options bbLeanBar.autoFullscreenHide: true bbLeanBar.setDesktopMargin: true bbLeanBar.sendToSwitchTo: true bbLeanBar.sendToGesture: true # ------------------------- # hidden icons (auto saved) bbLeanBar.tray.hidden.count: 0 bbLeanBar.2.placement: BottomLeft bbLeanBar.2.position.x: 0 bbLeanBar.2.position.y: 740 bbLeanBar.2.useSlit: true bbLeanBar.2.alwaysOnTop: false bbLeanBar.2.autoHide: false bbLeanBar.2.autoFullscreenHide: true bbLeanBar.2.clickRaise: true bbLeanBar.2.snapWindow: true bbLeanBar.2.pluginToggle: true bbLeanBar.2.alpha.enabled: true bbLeanBar.2.alpha.value: 192 bbLeanBar.2.widthPercent: 73 bbLeanBar.2.tasks.style: 2 bbLeanBar.2.tasks.reverse: false bbLeanBar.2.tasks.current: false bbLeanBar.2.tasks.sysmenu: false bbLeanBar.2.tasks.drawBorder: false bbLeanBar.2.tasks.maxWidth: 100 bbLeanBar.2.icon.saturation: 0 bbLeanBar.2.icon.hue: 60 bbLeanBar.2.strftimeFormat: %a %d %H:%M bbLeanBar.2.smallIcons: true bbLeanBar.2.setDesktopMargin: true bbLeanBar.2.sendToSwitchTo: true bbLeanBar.2.sendToGesture: true bbLeanBar.alwaysOnTop: true bbLeanBar.3.placement: Bottom bbLeanBar.3.position.x: 1 bbLeanBar.3.position.y: 740 bbLeanBar.3.useSlit: false bbLeanBar.3.alwaysOnTop: false bbLeanBar.3.autoHide: false bbLeanBar.3.autoFullscreenHide: true bbLeanBar.3.clickRaise: true bbLeanBar.3.snapWindow: false bbLeanBar.3.pluginToggle: true bbLeanBar.3.alpha.enabled: true bbLeanBar.3.alpha.value: 192 bbLeanBar.3.widthPercent: 7 bbLeanBar.3.tasks.style: 2 bbLeanBar.3.tasks.reverse: false bbLeanBar.3.tasks.current: false bbLeanBar.3.tasks.sysmenu: false bbLeanBar.3.tasks.drawBorder: false bbLeanBar.3.tasks.maxWidth: 89 bbLeanBar.3.icon.saturation: 0 bbLeanBar.3.icon.hue: 60 bbLeanBar.3.strftimeFormat: %a %d %H:%M bbLeanBar.3.smallIcons: true bbLeanBar.3.setDesktopMargin: true bbLeanBar.3.sendToSwitchTo: true bbLeanBar.3.sendToGesture: true  



#13 Tanglewood

Tanglewood

    Newbie

  • Members
  • Pip
  • 1 posts

Posted 23 February 2016 - 09:51 PM

Im currently messing around with bbleanbar and bbInterface, building a systembar-esque widget (with a few extra options). What Ive dicovered so far...

1. The worspace label shrank in size to the width of the workspace name (in my case: '1' and '2', respectively) when only workspacename and tasks were enabled. 2. When enabling 'clock' on the bbleanbar, I noticed the width of the worspace label altered to match that of the clock width.

3. In order to get around this, Ive created a bbinterface frame, then loaded bbleanbar into that frame, loaded bbdigitalExMod. I've then created two buttons. Button1 with the word 'Desktop' as static text. Button2 with a clock display showing the date (its can also call up bbcalendar) The bbleanbar has: WorkspaceName, Tasks enabled...

 

Button1 - bbleanbar plugin (Workspacelabel/tasks) - Button2 - clock Plugin (bbdigitalEx... (Hopefully you get what I mean)

 

:)



#14 pitkon

pitkon

    Administrator

  • Head Administrator
  • 1,333 posts
  • LocationAthens & Nafplio, Greece

Posted 24 February 2016 - 07:24 AM

Im currently messing around with bbleanbar and bbInterface, building a systembar-esque widget (with a few extra options). What Ive dicovered so far...

1. The worspace label shrank in size to the width of the workspace name (in my case: '1' and '2', respectively) when only workspacename and tasks were enabled. 2. When enabling 'clock' on the bbleanbar, I noticed the width of the worspace label altered to match that of the clock width.

3. In order to get around this, Ive created a bbinterface frame, then loaded bbleanbar into that frame, loaded bbdigitalExMod. I've then created two buttons. Button1 with the word 'Desktop' as static text. Button2 with a clock display showing the date (its can also call up bbcalendar) The bbleanbar has: WorkspaceName, Tasks enabled...

 

Button1 - bbleanbar plugin (Workspacelabel/tasks) - Button2 - clock Plugin (bbdigitalEx... (Hopefully you get what I mean)

 

:)

Great work, Tanglewood, this is indeed one way to do it - using a long workspace name. Great work with the bbi frame, too. You can also play with label.marginwidth in your style files.







Also tagged with one or more of these keywords: bbleanbar, workspace, label, resize

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users