Mercurial > octave-nkf
changeset 19718:2b93834e5ede
Update tightinset when "font*" properties are changed (bug #39581)
* graphics.in.h (axes::properties::update_fontname, axes::properties::update_fontsize, axes::properties::update_fontangle, axes::properties::update_fontweight): call sync_positions () to update the tightinset and position.
author | Pantxo Diribarne <pantxo.diribarne@gmail.com> |
---|---|
date | Mon, 09 Feb 2015 21:36:01 +0100 |
parents | f96671da51a6 |
children | 7335cc071ab0 |
files | libinterp/corefcn/graphics.in.h |
diffstat | 1 files changed, 20 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/libinterp/corefcn/graphics.in.h Sun Feb 08 23:24:45 2015 -0500 +++ b/libinterp/corefcn/graphics.in.h Mon Feb 09 21:36:01 2015 +0100 @@ -4090,10 +4090,26 @@ } void update_font (void); - void update_fontname (void) { update_font (); } - void update_fontsize (void) { update_font (); } - void update_fontangle (void) { update_font (); } - void update_fontweight (void) { update_font (); } + void update_fontname (void) + { + update_font (); + sync_positions (); + } + void update_fontsize (void) + { + update_font (); + sync_positions (); + } + void update_fontangle (void) + { + update_font (); + sync_positions (); + } + void update_fontweight (void) + { + update_font (); + sync_positions (); + } void update_outerposition (void) {