Re: [GNC] Minor issue with invoice layout
Play with the Layout tab in Options for the Invoice Report. There is also a custom CSS box available if you want to dig that far. Regards, Adrien On 2/14/21 11:47 AM, Howard M. Fried wrote: Hello, I upgraded Gnucash from ver 3.2 to 4.4 (Mac OS 10.15). My custom invoice layout changed. Particularly, the Client information, which was flush with the left margin, is now moved much toward the center. Business information is OK. It is a trivial issue, but can the Client information be moved back to the left margin? Edit--Style Sheets does not appear to be the answer. I created a new custom invoice (based on Easy), but it had the same issue. I haven't followed this forum for quite a while; thus, I apologize if invoice layout has been discussed (please point me to the information). ___ gnucash-user mailing list gnucash-user@gnucash.org To update your subscription preferences or to unsubscribe: https://lists.gnucash.org/mailman/listinfo/gnucash-user If you are using Nabble or Gmane, please see https://wiki.gnucash.org/wiki/Mailing_Lists for more information. - Please remember to CC this list on all your replies. You can do this by using Reply-To-List or Reply-All.
Re: [GNC] Minor issue with invoice layout
On 2/15/21 7:09 PM, gnucash-user-requ...@gnucash.org wrote: Thank you Adrien. Yes, I obtained something acceptable after figuring out the Layout tab. I am illiterate regarding CSS. I need code to make the margins larger (the Scale function in the Print dialog does not give the desired result). I've found code online for web pages, but simply inserting that code into the Gnucash CSS box did not do anything. Probably the code format was incorrect. Regards, Howard Message: 5 Date: Mon, 15 Feb 2021 16:29:17 -0600 From: Adrien Monteleone To:gnucash-u...@lists.gnucash.org Subject: Re: [GNC] Minor issue with invoice layout Message-ID: Content-Type: text/plain; charset=utf-8; format=flowed Play with the Layout tab in Options for the Invoice Report. There is also a custom CSS box available if you want to dig that far. Regards, Adrien On 2/14/21 11:47 AM, Howard M. Fried wrote: Hello, I upgraded Gnucash from ver 3.2 to 4.4 (Mac OS 10.15).? My custom invoice layout changed.? Particularly, the Client information, which was flush with the left margin, is now moved much toward the center. Business information is OK. It is a trivial issue, but can the Client information be moved back to the left margin?? Edit--Style Sheets does not appear to be the answer. I created a new custom invoice (based on Easy), but it had the same issue. ___ gnucash-user mailing list gnucash-user@gnucash.org To update your subscription preferences or to unsubscribe: https://lists.gnucash.org/mailman/listinfo/gnucash-user If you are using Nabble or Gmane, please see https://wiki.gnucash.org/wiki/Mailing_Lists for more information. - Please remember to CC this list on all your replies. You can do this by using Reply-To-List or Reply-All.
Re: [GNC] Minor issue with invoice layout
Howard, You probably want to adjust the margin property. Search on the web about CSS margins. You can use the short hand version where you specify all 4 in one declaration, or use separate 'margin-left', 'margin-right', etc. You'll have to play around with it to find the optimum value for you. Also consider saving/exporting and opening the report in a web browser. You might get more printing controls there. (and can use the built-in web inspectors to play with CSS in real time, then print) Regards, Adrien p.s. - not sure how that reply got threaded in to the Asset vs Equity conversation, so I replied back to this original. On 2/15/21 7:09 PM, gnucash-user-requ...@gnucash.org wrote: Thank you Adrien. Yes, I obtained something acceptable after figuring out the Layout tab. I am illiterate regarding CSS. I need code to make the margins larger (the Scale function in the Print dialog does not give the desired result). I've found code online for web pages, but simply inserting that code into the Gnucash CSS box did not do anything. Probably the code format was incorrect. ___ gnucash-user mailing list gnucash-user@gnucash.org To update your subscription preferences or to unsubscribe: https://lists.gnucash.org/mailman/listinfo/gnucash-user If you are using Nabble or Gmane, please see https://wiki.gnucash.org/wiki/Mailing_Lists for more information. - Please remember to CC this list on all your replies. You can do this by using Reply-To-List or Reply-All.
Re: [GNC] Minor issue with invoice layout
I forgot to mention you can also save/export or copy/paste any report to a spreadsheet for further manipulation and formatting prior to printing, which would of course include control of margins. Regards, Adrien On 2/16/21 4:17 PM, Adrien Monteleone wrote: Howard, You probably want to adjust the margin property. Search on the web about CSS margins. You can use the short hand version where you specify all 4 in one declaration, or use separate 'margin-left', 'margin-right', etc. You'll have to play around with it to find the optimum value for you. Also consider saving/exporting and opening the report in a web browser. You might get more printing controls there. (and can use the built-in web inspectors to play with CSS in real time, then print) Regards, Adrien ___ gnucash-user mailing list gnucash-user@gnucash.org To update your subscription preferences or to unsubscribe: https://lists.gnucash.org/mailman/listinfo/gnucash-user If you are using Nabble or Gmane, please see https://wiki.gnucash.org/wiki/Mailing_Lists for more information. - Please remember to CC this list on all your replies. You can do this by using Reply-To-List or Reply-All.
Re: [GNC] Minor issue with invoice layout
"I upgraded Gnucash from ver 3.2 to 4.4 (Mac OS 10.15). My custom invoice layout changed. Particularly, the Client information, which was flush with the left margin, is now moved much toward the center." I am having the same problem. I've tried editing the CSS and can move the client table back to the left with a margin left negative number value, but that moves it to a set position which may end up misaligned from the grid below when it is printed. By exporting the report and opening it in a web browser I was able to figure out what needs to be changed to make it auto align to the left, but it isn't something that can be changed from the CSS style editor section under the Layout tab. Have you had any luck figuring this out? I also used to be able to have the invoice # set to be large bold text but I can't figure out how to change that in this new version either. The main thing I use Gnucash for is invoicing...it's pretty frustrating that I can't get it looking as good as I had it before. It really looks very weird having the customers information indented 1/4 of the way toward center while the invoice # above it is aligned all the way to the left. -- Sent from: http://gnucash.1415818.n4.nabble.com/GnuCash-User-f1415819.html ___ gnucash-user mailing list gnucash-user@gnucash.org To update your subscription preferences or to unsubscribe: https://lists.gnucash.org/mailman/listinfo/gnucash-user If you are using Nabble or Gmane, please see https://wiki.gnucash.org/wiki/Mailing_Lists for more information. - Please remember to CC this list on all your replies. You can do this by using Reply-To-List or Reply-All.
Re: [GNC] Minor issue with invoice layout
Please file a bug report and attach relevant changes. On Sat, 27 Feb 2021, 2:02 am Ajnkns, wrote: > "I upgraded Gnucash from ver 3.2 to 4.4 (Mac OS 10.15). My custom > invoice layout changed. Particularly, the Client information, which was > flush with the left margin, is now moved much toward the center." > > I am having the same problem. I've tried editing the CSS and can move the > client table back to the left with a margin left negative number value, but > that moves it to a set position which may end up misaligned from the grid > below when it is printed. > > By exporting the report and opening it in a web browser I was able to > figure > out what needs to be changed to make it auto align to the left, but it > isn't > something that can be changed from the CSS style editor section under the > Layout tab. > > Have you had any luck figuring this out? > > I also used to be able to have the invoice # set to be large bold text but > I > can't figure out how to change that in this new version either. > > The main thing I use Gnucash for is invoicing...it's pretty frustrating > that > I can't get it looking as good as I had it before. It really looks very > weird having the customers information indented 1/4 of the way toward > center > while the invoice # above it is aligned all the way to the left. > > > > -- > Sent from: http://gnucash.1415818.n4.nabble.com/GnuCash-User-f1415819.html > ___ > gnucash-user mailing list > gnucash-user@gnucash.org > To update your subscription preferences or to unsubscribe: > https://lists.gnucash.org/mailman/listinfo/gnucash-user > If you are using Nabble or Gmane, please see > https://wiki.gnucash.org/wiki/Mailing_Lists for more information. > - > Please remember to CC this list on all your replies. > You can do this by using Reply-To-List or Reply-All. > ___ gnucash-user mailing list gnucash-user@gnucash.org To update your subscription preferences or to unsubscribe: https://lists.gnucash.org/mailman/listinfo/gnucash-user If you are using Nabble or Gmane, please see https://wiki.gnucash.org/wiki/Mailing_Lists for more information. - Please remember to CC this list on all your replies. You can do this by using Reply-To-List or Reply-All.
Re: [GNC] Minor issue with invoice layout
Message: 1 > Date: Fri, 26 Feb 2021 12:02:06 -0600 (CST) From: Ajnkns To: gnucash-user@gnucash.org Subject: Re: [GNC] Minor issue with invoice layout Message-ID: <1614362526691-0.p...@n4.nabble.com> Content-Type: text/plain; charset=us-ascii "I upgraded Gnucash from ver 3.2 to 4.4 (Mac OS 10.15). My custom invoice layout changed. Particularly, the Client information, which was flush with the left margin, is now moved much toward the center." I am having the same problem. I've tried editing the CSS and can move the client table back to the left with a margin left negative number value, but that moves it to a set position which may end up misaligned from the grid below when it is printed. By exporting the report and opening it in a web browser I was able to figure out what needs to be changed to make it auto align to the left, but it isn't something that can be changed from the CSS style editor section under the Layout tab. Have you had any luck figuring this out? I also used to be able to have the invoice # set to be large bold text but I can't figure out how to change that in this new version either. The main thing I use Gnucash for is invoicing...it's pretty frustrating that I can't get it looking as good as I had it before. It really looks very weird having the customers information indented 1/4 of the way toward center while the invoice # above it is aligned all the way to the left. To move the various components of the invoice, you have to play with the Row 1 Left, Row 1 Right, etc drop down selections in the Option->Layout section. For example, "Their details" corresponds to the Client information. Eventually, I got all the various bits on the desired sides and in the desired top-to-bottom order, including my logo, and everything was flush with both margins. Even though everything looked OK on the screen, when I printed the invoice (or saved to PDF), the margins were extremely small in width, and the document looked terrible. The solution for setting the margins is as follows: In the Layout section, add this code to the CSS body {margin-top: 1cm; margin-left: 1.5cm; margin-right: 2cm margin-bottom: 1cm} I tried other CSS code snippets that accept margin information, but only "body" worked. I think one can use px and even inch in place of cm. I wasn't worried about a bottom margin; thus, I omitted that line. Note that, for an unknown reason, to get the invoice centered on the page, I had to use different values for the left and right margins. Cheers, Howard ___ gnucash-user mailing list gnucash-user@gnucash.org To update your subscription preferences or to unsubscribe: https://lists.gnucash.org/mailman/listinfo/gnucash-user If you are using Nabble or Gmane, please see https://wiki.gnucash.org/wiki/Mailing_Lists for more information. - Please remember to CC this list on all your replies. You can do this by using Reply-To-List or Reply-All.