proposed patch (grampletpane)

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

proposed patch (grampletpane)

Paul Franklin-5
Here is another proposed patch.

This patch changes the "detached" gramplets in the Dashboard
so their size and position are remembered (as other windows
do, via the ManagedWindow class).

The GUI has changed so that now all a user has to do is to
drag the detached gramplet around with their mouse and/or
change the height and/or width of the gramplet with their
mouse, as with all the other gramps windows.

No more will the user have to set the detached height and/or
width by changing the values in the Configure dialog for the
Dashboard (but the other values and options remain there).

Note this patch is only for detached Dashboard gramplets.
The detached "grampletbar" gramplets are not affected.

Note also that the "detached" heights and widths in the
.gpr.py files remain, and thus end up in the INI file,
although they were always only values which were suggested
or recommended, not absolute.  (I have seen Gtk create a
window with a height of "319" which could not be reduced,
even when a suggested height of "300" was asked for.)  So
those suggestions will be overridden by any the user may
set, after this patch is implemented.

Thanks.

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
_______________________________________________
Gramps-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gramps-devel

9795=grampletpane-20170123.patch (2K) Download Attachment
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: proposed patch (grampletpane)

Paul Franklin-5
> Note this patch is only for detached Dashboard gramplets.
> The detached "grampletbar" gramplets are not affected.

I should add that this is because there is no need to add a
similar mechanism for detached "grampletbar" gramplets.

They can only be created with a drag-and-drop so the user
already has full control over where they will be placed, which
furthermore will probably be in a different place every time.

Likewise, the detached height and width are already saved
away if the user changes them, and restored next time.

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
_______________________________________________
Gramps-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gramps-devel
Loading...