New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update Preferences dialog #1149
Update Preferences dialog #1149
Conversation
Brings Themes _panel tabs into agreement with Pull gramps-project/gramps#1149
gramps-project/addons-source#472 Brings Themes into agreement in the _panel Tabs structure. |
You also need to modify your Themes addon. If installed, it actually set
the Tabs.
gramps-project/addons-source#472
…On Tue, Nov 10, 2020 at 1:48 PM D.A.Lordemann ***@***.***> wrote:
I tried it on Windows and got following
80171: ERROR: grampsapp.py: line 157: Unhandled exception
Traceback (most recent call last):
File "C:\Program
Files\GrampsAIO64-5.1.3-V2-rework\gramps\gui\viewmanager.py", line 672, in
preferences_activate
GrampsPreferences(self.uistate, self.dbstate)
File
"C:\Users\dave\AppData\Roaming\gramps\gramps51\plugins\Themes\themes.py",
line 111, in *init*
self.add_behavior_panel,
AttributeError: 'GrampsPreferences' object has no attribute
'add_behavior_panel'
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#1149 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AOYEN4WEYMSXZRXT6U62ISTSPGDG3ANCNFSM4TQ7VB7A>
.
|
NOTE: There is a pull to install icons to the toolbar that IF merged will have added settings to configure.py IF that pull is merged, those additional settings will need to be added to this reworking of configure.py
I post this so more than myself can be aware of this. |
Codecov Report
@@ Coverage Diff @@
## master #1149 +/- ##
==========================================
- Coverage 41.28% 41.16% -0.13%
==========================================
Files 1060 1062 +2
Lines 143397 144645 +1248
==========================================
+ Hits 59204 59538 +334
- Misses 84193 85107 +914
Continue to review full report at Codecov.
|
When I go into "Edit -> Preferences" I get the following error:
Were these changes the ones discussed on the Discourse forum thread? From what I can see in the images in the feature request, the bold headings need to be left justified to conform to our UI Style guide. In particular, the Gnome Human Interface Guidelines section. |
The only new config setting added was one for @SNoiraud #1161 where he adds register('preferences.calendar-format-input', 0) to gen\config.py now accessed by my gui\configue.py. All other changes were all only a shuffling of the existing options. A few descriptions alterations are proposed. In the existing Preferences, the major headings are all center justified. You want them Left justified? |
I have reformatted the tabs with left-justified headers and indented selectors. All tabs were been modified so that they all share the theme with the exception of Colors where I left the tab's header centered. This better reflects having the "Dark" and "Restore" buttons centered directly below. I also made no changes to the Symbols tab. In reviewing UI Style guide and GNOME Human Interface Guidelines they strongly recommend right-justified labels on the Drop-down and Box options. I have made this change in the current version. Modifying BasicLabel also affected the Relationships and Combined views negatively. The only other file that takes advantage of BasicLabel is _sidebarfilter.py I created a RightLabel class in gui\widgets\labels.py and used it in gui\configure.py to make labels right-justified. The problem is an inconsistency in labels. Most notably the Report and Tool/Gramplets configure windows remain left-justified. As they do not use the BasicLabel code any reworking of the code to make them right-justified would be a lot of work and beyond my coding talents. Notably, the settings in all the filter rules are all right justified. So the question: Keep the right-justified labels or revert to left-justified? |
Codecov Report
@@ Coverage Diff @@
## master #1149 +/- ##
==========================================
- Coverage 41.28% 41.16% -0.13%
==========================================
Files 1060 1062 +2
Lines 143397 144645 +1248
==========================================
+ Hits 59204 59538 +334
- Misses 84193 85107 +914
Continue to review full report at Codecov.
|
Clean up of existing Preferences tabs. Implements #12049
2ae0ebc
to
677d09e
Compare
I've reverted to left-justified labels, and made a few other minor adjustments. The title in the colour tab is now left justified. |
Looks great. Thank you for merging. @prculley 's Theme Gramplet _panel structure must now agree with the changes made here. Fix already filed |
Feature Request #12049
Clean up of existing Preferences Tabs