I use a 1600x900 monitor. The buttons are hidden behind the control panel with 4 rows of entries. I can not shrink the height. Which options do we have to reduce the height?
What control panel?
A screenshot might be helpful.
Created attachment 373789 [details] Screen shot after changes. This is down to the General tab of Edit->preferences which has the largest number of options. I thought they were added to a scroll window but it does not look like it so have tried that. This brings it down to 710 pixels high but the down side is that there is no permanent indication of extra options at the bottom of screen. The other option is to move some of the options from the General tab to other tabs, maybe the 'Number section' to 'Accounts' or add another tab with some of the General options. Not sure which is the best idea.
(In reply to Bob from comment #3) > Created attachment 373789 [details] > Screen shot after changes. > > This is down to the General tab of Edit->preferences which has the largest > number of options. Right. > I thought they were added to a scroll window but it does > not look like it so have tried that. This brings it down to 710 pixels high > but the down side is that there is no permanent indication of extra options > at the bottom of screen. I thought, if I shrink it more, a scrollbar appears? That would be the indicator. > The other option is to move some of the options from the General tab to > other tabs, maybe the 'Number section' to 'Accounts' or add another tab with > some of the General options. Alternative 2: Move the Numbers section into "Date/Time" and rename it "Number Formats". Alternative 3: Move the 3 sections containing "Files" in a separate tab. > Not sure which is the best idea. I am also open for other ideas. P.S. We should define in https://wiki.gnucash.org/wiki/GUI_Guidelines a max size for GUI elements, which then would be the min required resolution for the program. At some historical point it was standard VGA. As my example shows, the mode scan still fails in some configurations to find full HD.
Created attachment 373793 [details] Screenshot of Date/Time/Numbers Frank, I have moved the number section to the Date/Time tab and the resulting page is attached which I think works. Now the preference dialogue is 724 high, not sure of the tab label I have made it Date/Time/Numbers but maybe it should be 'Used Formats' or some thing like that. Regarding the minimum display size, It could be 1024x768.
(In reply to Frank H. Ellenberger from comment #4) > I thought, if I shrink it more, a scrollbar appears? That would be the > indicator. You would not be able to shrink it more as the height would now be governed by the tab column height. By moving the mouse on to the right panel, you may notice the vertical scroll bar appear but it would soon disappear. I think it would be best to avoid having to scroll if possible, I did consider adding some text at the bottom if the scrollbar was needed advising that there are options not displayed but with the move of the number section it should not be required.
IIRC we've said in the past that the minimum supported display is 800x600.
(In reply to John Ralls from comment #7) > IIRC we've said in the past that the minimum supported display is 800x600. You are right. But I believe since we switched to GTK3 we did no longer fulfill it. (In reply to Bob from comment #7) > Regarding the minimum display size, It could be 1024x768. Sounds like a good compromise. > I have moved the number section to the Date/Time tab Looks OK to me. > I have made it Date/Time/Numbers but maybe it should be 'Used Formats' > or some thing like that. The 'automatic decimal point' is a behaviour, no format. IMHO "Date, Time, Numbers" would look nicer.
and perhaps, let us reorder both (name and content) with numbers as more important first.
Created attachment 373815 [details] Gnucash preferences disappears off bottom of screen This is what I'm currently seeing. Would it not be possible to make the preference window height dynamic depending on the screen height so that the Help and Close buttons are always visible. Where there are more settings than would be visible, add a vertical scroll bar to scroll the settings. The indication that there were more options would be the appearance of a scroll bar.
> The indication that there were more options would be the appearance of a scroll bar. Unfortunately that's not necessarily the case. On macOS and some Linux desktops the scrollbar doesn't appear unless you try to scroll.
*** Bug 797922 has been marked as a duplicate of this bug. ***
I have moved the number section from the General tab to the Date/Time tab and reordered them to 'Numbers, Date, Time'. This brings the size of the dialog on my Linux VM to 828x690. Doing this, the height of the tabs and page options are about equal but if another tab is required we can add some default CSS to reduce the top and bottom margins to fit another button. Obviously if any user has specified a larger font and there own CSS changes then the dialog may still be too big. Frank, I have pushed this to maint and so will be in the next nightly and version 4.2 so if you can give it a look and then close bug or highlight any changes needed.
(In reply to Bob from comment #13) > I have moved the number section from the General tab to the Date/Time tab > and reordered them to 'Numbers, Date, Time'. This brings the size of the > dialog on my Linux VM to 828x690. Fine, thanks! > Doing this, the height of the tabs and > page options are about equal but if another tab is required we can add some > default CSS to reduce the top and bottom margins to fit another button. I watch over 50% "noise" (Tab frame + spacing between tabs) and think we should reduce it. > Obviously if any user has specified a larger font and there own CSS changes > then the dialog may still be too big. Right, can you add a formula (and other useful details) to https://wiki.gnucash.org/wiki/GUI_Guidelines#GUI_Resolution? > Frank, I have pushed this to maint and so will be in the next nightly and > version 4.2 so if you can give it a look and then close bug or highlight any > changes needed. As the main issue is resolved - at least for users with normal font size, I will close it. Others can still comment and verify or reopen.
Frank, you can try this in your gtk-3.0.css file... #gnc-id-preferences notebook tab { background-color: lightgreen; margin-top: 0px; margin-bottom: 0px; padding-top: 0px; padding-bottom: 0px; }
Created attachment 373867 [details] Preferences with adjusted gtk-3.0.css Ways better. :-)
I have the impression the gtk guys added from version 2 to 3 spaces, which are useful on mobile devices, but annoying on classical computers displays. Can we also reduce the whitespace between the sections on the right side?
Created attachment 373868 [details] Glade file with no blank Lines Frank, try this preference glade file, backup the existing one and replace with a rename. I have removed the blank lines. The business tab will still show blank lines for comparison as that is a different file. It may look a bit squashed, not sure.
Created attachment 373869 [details] Glade file withBold sections having a top margin and try this preference glade file, backup the existing one and replace with a rename. I have removed the blank lines but added a 6px top margin to the section titles. The business tab will still show blank lines for comparison as that is a different file.
(In reply to Frank H. Ellenberger from comment #16) > Created attachment 373867 [details] > Preferences with adjusted gtk-3.0.css > > Ways better. :-) I could add this to the gnucash.css file as a default minus the colour change. Users will still be able to over ride if they want to.
(In reply to Bob from comment #20) > (In reply to Frank H. Ellenberger from comment #16) > > Created attachment 373867 [details] > > Preferences with adjusted gtk-3.0.css > > > > Ways better. :-) > > I could add this to the gnucash.css file as a default minus the colour > change. Users will still be able to over ride if they want to. A slippery slope to embark on from GnuCash. I believe this is outside of the gnucash scope to overrule default style settings. You may want to look into another Gtk theme if the default one doesn't suit you.
(In reply to Geert Janssens from comment #21) > (In reply to Bob from comment #20) > > (In reply to Frank H. Ellenberger from comment #16) > > > Created attachment 373867 [details] > > > Preferences with adjusted gtk-3.0.css > > > > > > Ways better. :-) > > > > I could add this to the gnucash.css file as a default minus the colour > > change. Users will still be able to over ride if they want to. > > A slippery slope to embark on from GnuCash. I believe this is outside of the > gnucash scope to overrule default style settings. You may want to look into > another Gtk theme if the default one doesn't suit you. Fare enough, was just a suggestion, I am happy to leave as is.