View Single Post
Old 01-25-2022, 11:45 PM   #5
Deobulakenyo
Guru
Deobulakenyo ought to be getting tired of karma fortunes by now.Deobulakenyo ought to be getting tired of karma fortunes by now.Deobulakenyo ought to be getting tired of karma fortunes by now.Deobulakenyo ought to be getting tired of karma fortunes by now.Deobulakenyo ought to be getting tired of karma fortunes by now.Deobulakenyo ought to be getting tired of karma fortunes by now.Deobulakenyo ought to be getting tired of karma fortunes by now.Deobulakenyo ought to be getting tired of karma fortunes by now.Deobulakenyo ought to be getting tired of karma fortunes by now.Deobulakenyo ought to be getting tired of karma fortunes by now.Deobulakenyo ought to be getting tired of karma fortunes by now.
 
Posts: 706
Karma: 2153490
Join Date: Aug 2021
Location: Stupid Philippines
Device: Kobo Libra 2, Boyue Likebook P78
Quote:
Originally Posted by Semwize View Post
I haven't tested it, but I think a fix is needed for Libra.

Replace part of the patch.

Spoiler:
Code:
 # #infoWidget reduce width
        - {Find: "width: 470px;", Replace: "width: 320px;"} #Dragon
        - {Find: "width: 611px;", Replace: "width: 390px;"} #Daylight
        # #infoWidget, #infoFrame: reduce top/bottom/right margins
        - {Find: "Margin: 22px;", Replace: "Margin: 5px;"}  #Dragon
        - {Find: "Margin: 28px;", Replace: "Margin: 7px;"}  #Daylight
        - {Find: "Margin: 25px;", Replace: "Margin: 6px;"}  #Storm
        # #infoFrame: remove Sleeping borders
        - {Find: "#infoFrame {\n  border-top: 1px solid black;\n  border-bottom: 1px solid black;\n  border-right: 1px solid black;\n}\n", Replace: "\n"}
        # #infoFrame: reduce left margin
        - {Find: "leftMargin: 44px;", Replace: "leftMargin: 5px;"}  # Dragon
        - {Find: "leftMargin: 56px;", Replace: "leftMargin: 7px;"}  # Daylight
        - {Find: "leftMargin: 50px;", Replace: "leftMargin: 6px;"}  # Storm
        # #infoWidget size reduced to zero when Sleeping
        - Find:    "#batteryStatus {\n  font-family: Georgia;\n}"
          Replace: "#infoWidget[powerOffView=false] {\n  min-width:0px; max-width:0px;\n  min-height:0px; max-height:0px;\n  qproperty-topMargin:0px; qproperty-bottomMargin:0px;\n  qproperty-leftMargin:0px; qproperty-rightMargin:0px;\n}\n#batteryStatus {font-family:Georgia;}"

Thanks very much. I will test this out. Thank you.

Should i put this on nickel.yaml or libnickel.yaml?

Last edited by Deobulakenyo; 01-25-2022 at 11:49 PM.
Deobulakenyo is offline   Reply With Quote