# HG changeset patch # User Pantxo Diribarne # Date 1422907786 -3600 # Node ID 5b4fd7ebcfc6ea6dfa34abb18e1f134d3c43ed87 # Parent 885d38747cd595f5366444215ae577ae77ebcb74 Update "tightinset" when "x/yaxislocation" is changed * graphics.cc (axes::properties::update_x/yaxislocation): first call sync_positions to update the tightinset. diff -r 885d38747cd5 -r 5b4fd7ebcfc6 libinterp/corefcn/graphics.in.h --- a/libinterp/corefcn/graphics.in.h Mon Jan 27 15:52:57 2014 +0100 +++ b/libinterp/corefcn/graphics.in.h Mon Feb 02 21:09:46 2015 +0100 @@ -3958,11 +3958,13 @@ void update_layer (void) { update_axes_layout (); } void update_yaxislocation (void) { + sync_positions (); update_axes_layout (); update_ylabel_position (); } void update_xaxislocation (void) { + sync_positions (); update_axes_layout (); update_xlabel_position (); }