Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Readers > Kobo Reader > Kobo Developer's Corner

Notices

Reply
 
Thread Tools Search this Thread
Old 04-20-2017, 05:50 PM   #1
MGlitch
Wizard
MGlitch ought to be getting tired of karma fortunes by now.MGlitch ought to be getting tired of karma fortunes by now.MGlitch ought to be getting tired of karma fortunes by now.MGlitch ought to be getting tired of karma fortunes by now.MGlitch ought to be getting tired of karma fortunes by now.MGlitch ought to be getting tired of karma fortunes by now.MGlitch ought to be getting tired of karma fortunes by now.MGlitch ought to be getting tired of karma fortunes by now.MGlitch ought to be getting tired of karma fortunes by now.MGlitch ought to be getting tired of karma fortunes by now.MGlitch ought to be getting tired of karma fortunes by now.
 
Posts: 2,855
Karma: 22003124
Join Date: Aug 2014
Device: Kobo Forma, Kobo Sage, Kobo Libra 2
Footer menubar reduction

I know there's a patch to reduce the menubar in the header, but what about the footer?

I only recently tried the header one, and was surprised by how much I liked it. Even though I don't see it often, it's nice to have it reduced down so there's less white space.
MGlitch is offline   Reply With Quote
Old 04-20-2017, 06:06 PM   #2
jackie_w
Grand Sorcerer
jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.
 
Posts: 6,252
Karma: 16544692
Join Date: Sep 2009
Location: UK
Device: ClaraHD, Forma, Libra2, Clara2E, LibraCol, PBTouchHD3
Quote:
Originally Posted by MGlitch View Post
I know there's a patch to reduce the menubar in the header, but what about the footer?
There's the patch called `Custom reading footer style` in the nickel.patch file. It doesn't actually shrink the footerbar but it does reduce the amount of vertical space used by the 'page x of y' progress footer whilst reading.

I searched in vain to replicate the headerbar patch for the footer. There were several potential candidates but none of them actually reduced the footerbar ... except for one. It is possible to reduce the height of the Search footerbar when searching for a word in the current book. I use it on my own devices but I haven't published it because I haven't read of any pent-up demand for such a feature.
jackie_w is offline   Reply With Quote
Advert
Old 03-20-2018, 07:43 PM   #3
ItalianUruguayan
Connoisseur
ItalianUruguayan makes transoceanic flights without the assistance of an airplaneItalianUruguayan makes transoceanic flights without the assistance of an airplaneItalianUruguayan makes transoceanic flights without the assistance of an airplaneItalianUruguayan makes transoceanic flights without the assistance of an airplaneItalianUruguayan makes transoceanic flights without the assistance of an airplaneItalianUruguayan makes transoceanic flights without the assistance of an airplaneItalianUruguayan makes transoceanic flights without the assistance of an airplaneItalianUruguayan makes transoceanic flights without the assistance of an airplaneItalianUruguayan makes transoceanic flights without the assistance of an airplaneItalianUruguayan makes transoceanic flights without the assistance of an airplaneItalianUruguayan makes transoceanic flights without the assistance of an airplane
 
ItalianUruguayan's Avatar
 
Posts: 52
Karma: 55058
Join Date: Mar 2018
Location: Spain
Device: Kobo Glo HD
Quote:
Originally Posted by jackie_w View Post
There's the patch called `Custom reading footer style` in the nickel.patch file. It doesn't actually shrink the footerbar but it does reduce the amount of vertical space used by the 'page x of y' progress footer whilst reading.

I searched in vain to replicate the headerbar patch for the footer. There were several potential candidates but none of them actually reduced the footerbar ... except for one. It is possible to reduce the height of the Search footerbar when searching for a word in the current book. I use it on my own devices but I haven't published it because I haven't read of any pent-up demand for such a feature.
I am curious about it. Would you mind to share?
ItalianUruguayan is offline   Reply With Quote
Old 03-21-2018, 12:12 PM   #4
jackie_w
Grand Sorcerer
jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.
 
Posts: 6,252
Karma: 16544692
Join Date: Sep 2009
Location: UK
Device: ClaraHD, Forma, Libra2, Clara2E, LibraCol, PBTouchHD3
Quote:
Originally Posted by ItalianUruguayan View Post
I am curious about it. Would you mind to share?
Assuming you're asking about my Search footerbar comment ...

The CSS stream I modified in fw4.7.10413 is in the nickel file.

Using the pipcat-method (I noticed in another recent thread that you're already familiar with this) it is the zlib stream beginning:
Code:
/* found: 83 (zlib) pos: 45cc58 */
#SearchMenuView[qApp_deviceIsTrilogy=true] {
  max-height: 71px;
  min-height: 71px;
}
#SearchMenuView[qApp_deviceIsPhoenix=true] {
  max-height: 91px;
  min-height: 91px;
}
#SearchMenuView[qApp_deviceIsDragon=true] {
  max-height: 121px;
  min-height: 121px;
}
#SearchMenuView[qApp_deviceIsDaylight=true] {
  max-height: 157px;
  min-height: 157px;
}
The only changes I made are to the above code where I reduced the max/min-heights to something smaller. I see you have a GloHD in your Info details, so using this as an example I reduced both values of 121px to 80px.

For anyone reading this and wondering why I bothered ... the only reason I applied this extra patch is because I have also applied the `Custom reading footer style` patch to reduce the height of the 'Page x of y' footer. If you've done that and then run a 'search in book' query, the Search results footer covers the bottom line(s) of book text which is a nuisance if the word you've searched for is on the bottom line(s). It doesn't really happen often enough to be a serious problem for me but it was easy enough to remove the issue by applying this extra patch at the same time as the rest of my list of nickel patches via the pipcat-method.
jackie_w is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Preferences - Menubar ColMac Calibre 5 09-22-2016 06:55 AM
Interface Action Plugin doesn't get to the placing icons into menubar kabirmaar Plugins 5 05-24-2014 09:39 PM
Vertical menubar on iPhone At_Libitum Marvin 4 10-07-2013 03:35 AM
How do I show the menubar? Halo Calibre 5 07-16-2013 06:48 PM
Anybody got a clue on DX price reduction? SamuraiXSendai Amazon Kindle 3 05-21-2010 05:45 AM


All times are GMT -4. The time now is 08:42 AM.


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