Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre

Notices

Reply
 
Thread Tools Search this Thread
Old 11-30-2015, 04:21 PM   #1
Ste.Someday
Junior Member
Ste.Someday began at the beginning.
 
Posts: 4
Karma: 10
Join Date: Nov 2015
Device: iPad
Toolbar Icons....

How do I create a blank icon to use as a spacer between command/plugin icons? Or is there a way to center the items in the toolbar?

I tried creating a fake .zip plugin containing only blank .png file, but it won't show up as an option in the Toolbar organizer.

Many thanks for any help.
Ste.Someday is offline   Reply With Quote
Old 11-30-2015, 05:33 PM   #2
BetterRed
null operator (he/him)
BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.
 
Posts: 21,645
Karma: 29710510
Join Date: Mar 2012
Location: Sydney Australia
Device: none
In the toolbar 'customiser' (Preferences->Toolbars) there's a Separator item in the left side list, more than one of which can be moved to the right side list, and then use the up/down green arrows to position the Separator(s)
BetterRed is online now   Reply With Quote
Advert
Old 12-01-2015, 12:27 PM   #3
Ste.Someday
Junior Member
Ste.Someday began at the beginning.
 
Posts: 4
Karma: 10
Join Date: Nov 2015
Device: iPad
Hi. Yes, I'm aware of the existing separator. Where is that icon located in the application files? I'm on a Mac, if it makes a difference. Can I replace the existing separator with a blank png of a particular size? I want spaces between groups of toolbar icons to even out the appearance. As is, everything is shoved over to the left and adding extra lines with the separators doesn't do much to remedy that.
Ste.Someday is offline   Reply With Quote
Old 12-01-2015, 12:45 PM   #4
theducks
Well trained by Cats
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
Posts: 30,917
Karma: 60358908
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
Quote:
Originally Posted by Ste.Someday View Post
Hi. Yes, I'm aware of the existing separator. Where is that icon located in the application files? I'm on a Mac, if it makes a difference. Can I replace the existing separator with a blank png of a particular size? I want spaces between groups of toolbar icons to even out the appearance. As is, everything is shoved over to the left and adding extra lines with the separators doesn't do much to remedy that.
any NAMED icon found in the matching configuration folder location will be used.

the problem is, the separator is not a normal icon

BTW I use 2 separators in places I wish to ||emphasize|| the section
theducks is offline   Reply With Quote
Old 12-01-2015, 01:24 PM   #5
Ste.Someday
Junior Member
Ste.Someday began at the beginning.
 
Posts: 4
Karma: 10
Join Date: Nov 2015
Device: iPad
What do you mean it's not a normal icon?

I did a deep search using EasyFind & didn't come up with anything called "separator". & poking around through the application files hasn't revealed its location to me yet, either.
Ste.Someday is offline   Reply With Quote
Advert
Old 12-01-2015, 01:56 PM   #6
eschwartz
Ex-Helpdesk Junkie
eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.
 
eschwartz's Avatar
 
Posts: 19,421
Karma: 85400180
Join Date: Nov 2012
Location: The Beaten Path, USA, Roundworld, This Side of Infinity
Device: Kindle Touch fw5.3.7 (Wifi only)
It's not an icon, it's just a line drawn with the addSeparator() method inherent to a QToolBar.

Extra images aren't really going to help anyway.
What you want is a feature request to center the toolbar.

Last edited by eschwartz; 12-01-2015 at 01:58 PM.
eschwartz is offline   Reply With Quote
Old 12-02-2015, 01:24 PM   #7
Ste.Someday
Junior Member
Ste.Someday began at the beginning.
 
Posts: 4
Karma: 10
Join Date: Nov 2015
Device: iPad
But the image file for the separator has to exist somewhere in the application files, right? Shouldn't I just be able to swap in another image with the same name & have that appear instead of the dotted line? Do you know where the separator image file is located or what it might be named? Thanks
Ste.Someday is offline   Reply With Quote
Old 12-02-2015, 01:39 PM   #8
eschwartz
Ex-Helpdesk Junkie
eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.
 
eschwartz's Avatar
 
Posts: 19,421
Karma: 85400180
Join Date: Nov 2012
Location: The Beaten Path, USA, Roundworld, This Side of Infinity
Device: Kindle Touch fw5.3.7 (Wifi only)
No, like I said, it is a drawn line created by the QToolBar.addSeparator() method.
That means there is an instruction to "draw a line", not "render an image".


If you want to change that, you will either need to hack calibre to use an image instead of a QToolBar.addSeparator() or you will have to hack and recompile Qt AND calibre to use an image for QToolBar.addSeparator()
eschwartz is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Hiding toolbar icons - can you? Hoods7070 Calibre 4 06-05-2012 03:08 AM
Refreshing toolbar icons meme Development 6 04-20-2011 01:27 PM
Toolbar icons yingwu iRex 3 06-17-2009 12:20 PM
iLiad Add new icons to the toolbar ouais32 iRex Developer's Corner 2 01-04-2008 12:04 PM
iLiad Toolbar icons tomchek iRex Developer's Corner 6 07-30-2007 11:13 AM


All times are GMT -4. The time now is 09:51 PM.


MobileRead.com is a privately owned, operated and funded community.