Mercurial > hg > octave-lyh
changeset 17102:786bcce466e9
Initialize the tightinset during initialization of axes.
* libinterp/corefcn/graphics.in.h: Make sync_positions () public.
* libinterp/corefcn/graphics.cc (axes::initialize): Call sync_positions when
initializing an axes.
author | Ben Abbott <bpabbott@mac.com> |
---|---|
date | Sat, 27 Jul 2013 21:40:58 -0400 |
parents | e7a059a9a644 |
children | a033fd3669c0 |
files | libinterp/corefcn/graphics.cc libinterp/corefcn/graphics.in.h |
diffstat | 2 files changed, 4 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/libinterp/corefcn/graphics.cc +++ b/libinterp/corefcn/graphics.cc @@ -6915,6 +6915,8 @@ xinitialize (xproperties.get_xlabel ()); xinitialize (xproperties.get_ylabel ()); xinitialize (xproperties.get_zlabel ()); + + xproperties.sync_positions (); } // ---------------------------------------------------------------------
--- a/libinterp/corefcn/graphics.in.h +++ b/libinterp/corefcn/graphics.in.h @@ -3662,6 +3662,8 @@ update_axes_layout (); } + void sync_positions (void); + void update_autopos (const std::string& elem_type); void update_xlabel_position (void); void update_ylabel_position (void); @@ -3991,8 +3993,6 @@ void update_fontangle (void) { update_font (); } void update_fontweight (void) { update_font (); } - void sync_positions (void); - void update_outerposition (void) { set_activepositionproperty ("outerposition");