[gnumeric] Fix graph size issue when the graph is in its own sheet. [#516]
- From: Jean Bréfort <jbrefort src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnumeric] Fix graph size issue when the graph is in its own sheet. [#516]
- Date: Sat, 17 Oct 2020 15:19:57 +0000 (UTC)
commit 68c9ef4f1fe49eaf3e7c992e234ac74771c8453a
Author: Jean Brefort <jean brefort normalesup org>
Date: Sat Oct 17 17:19:45 2020 +0200
Fix graph size issue when the graph is in its own sheet. [#516]
ChangeLog | 5 +++++
NEWS | 3 +++
src/sheet-object-graph.c | 3 ---
3 files changed, 8 insertions(+), 3 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index 7aa3d3f43..38b026562 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2020-10-17 Jean Brefort <jean brefort normalesup org>
+
+ * src/sheet-object-graph.c (gnm_sog_bounds_changed): fix graph size issue
+ when the graph is in its own sheet. [#516]
+
2020-10-15 Morten Welinder <terra gnome org>
* src/stf-parse.c (stf_parse_sheet): Don't try to parse entries
diff --git a/NEWS b/NEWS
index 87b3e7ff6..b77701e03 100644
--- a/NEWS
+++ b/NEWS
@@ -1,5 +1,8 @@
Gnumeric 1.12.49
+Jean:
+ * Fix graph size issue when the graph is in its own sheet. [#516]
+
Morten:
* Rework conditional styling's upper level.
* Fix autofill array critical. [#511]
diff --git a/src/sheet-object-graph.c b/src/sheet-object-graph.c
index ee171aab6..ec3da1b13 100644
--- a/src/sheet-object-graph.c
+++ b/src/sheet-object-graph.c
@@ -557,9 +557,6 @@ gnm_sog_bounds_changed (SheetObject *so)
sheet_object_position_pts_get (so, coords);
gog_graph_set_size (sog->graph, fabs (coords[2] - coords[0]),
fabs (coords[3] - coords[1]));
- } else {
- /*FIXME: get dimensions from print settings */
- gog_graph_set_size (sog->graph, 400., 300.);
}
}
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]