Émilie Feral
90222c3f45
[apps/calculation] SelectableTableView: scrollToCell once the margin
...
have been updated
This fixes the following bug: input the vertical matrix [1,2,3], the
scroll failed
2020-04-03 10:42:42 +02:00
Émilie Feral
94daf465c4
[escher][apps/calculation] Improve ScrollView::scrollToContentRect to
...
scroll "smartly" when scrolling to a too-big-to-be-displayed rect
This fixes calculation history navigation on big cells (that are bigger
than the displayed table)
2020-02-20 10:56:11 +01:00
Émilie Feral
24d9f37205
[apps/calculation] Clean how cell subtype is selected/
...
This fixes crashes: indeed, in the way it was done before, we called
scrollToSubviewOfTypeOfCellAtLocation after setting the new selected subtype
and before reloading the data. However, selecting a new subtype might expand
the selected cell which can temper with the cell repartition. If so, we need to
reload the data to be able to call 'selectedCell' for instance.
2020-02-20 10:56:11 +01:00
Émilie Feral
6c9832c9e1
[apps/calculation] Avoid blinking in Calculation
2020-02-12 15:13:18 +01:00
Émilie Feral
b566846c49
[apps/calculation] SelectableView: force relayouting subviews in
...
scrollToCell
2020-02-12 15:13:18 +01:00
Ruben Dashyan
faae55eb51
[escher/scroll_view] Replace setShowsIndicators by setDecoratorType
2019-02-18 16:49:58 +01:00
Émilie Feral
f7193602ef
[calculation] Bug in the subview selected with heigh cells
...
In SelectableTableView::selectCellAtLocation, we call 'tableViewDidChangeSelection'
before scrolling. Therefore, the cell with updated with the right selected subview
is not the one drawn... To solve this issue, we keep the selectedSubview ('model')
in the HistoryController instead of in the limited-lifespan view.
2018-12-06 14:52:23 +01:00
Émilie Feral
55be86ef50
[escher] TableView::cellAtLocation should return nullptr if the cell is
...
invisible and therefore no view displays it.
Fix bug: add 4 functions, in the values table one cell is wrong as soon
as you edit an x value
2018-11-26 11:24:30 +01:00
Romain Goyet
84561a929f
[escher] Clean the ScrollView, TableView and SelectableTableView constructors
2018-04-18 18:08:07 +02:00
Émilie Feral
af4d6b6e81
[escher] Divide class selectable table view delegate in 2: selectable
...
table view data source & selectable table view delegate
Change-Id: I90fbd61e271db3754c13bd0069b95c2026de6814
2017-05-18 14:16:41 +02:00
Émilie Feral
230a53fe7e
[apps] Use a forgotten method on selectable table view
...
Change-Id: I6b934ac0d2587565c6b94d5130d158b621c1e187
2017-04-24 17:36:32 +02:00
Émilie Feral
80873cf025
[apps/calculation] Make calculation views dynamically allocated
...
Change-Id: I45946e46203bd8dde21793ee2395c76dc15db06c
2017-04-20 12:12:04 +02:00
Émilie Feral
680c84e413
Clean with clang analyzer
...
Change-Id: I4897b3a88795d76f4ac7e6f788a7e6d19397dbfd
2017-03-28 14:49:28 +02:00
Émilie Feral
b1fb4f5393
[escher] Correct commit : Enable to draw the outline of cells in table
...
view
Change-Id: If2eadc0b9987678c0ccc56401bd46835d861a436
2017-03-16 17:35:43 +01:00
Émilie Feral
406fc0e0a5
[escher] Enable to draw the outline of cells in table view
...
Change-Id: I2842e9fdada4ebdc3fe49608e6f7886d831aa98b
2017-03-16 15:12:11 +01:00
Émilie Feral
2e16365100
[escher] Reorganize all cells'name and factorize their layouts
...
Change-Id: I69900ee98ff6a6868f96d70a0e335a589ef16c3f
2017-02-20 10:54:02 +01:00
Émilie Feral
acd51f2ca8
[apps] Hide unwanted scroller in controllers
...
Change-Id: I0af93bf566f293a7c767a54eaba86c6465d00840
2017-01-27 11:59:21 +01:00
Émilie Feral
172528f49f
[apps/calculation] Change names: PrettyPrintView -->
...
ScrollableExpressionView and make result View an scrollable expression
view
Change-Id: I9ac85671bcb4fdbeda0e5dbc6788dc7eb93b7343
2016-12-09 11:01:44 +01:00
Émilie Feral
2f45578886
[apps/calculation] Handle calculation to heigh to be fully displayed in
...
the screen
Change-Id: I182f0c76d911e6686223a22be2a6ddb561b287ec
2016-11-04 14:47:07 +01:00
Émilie Feral
d83c101a33
[apps/calculation] Create a specific table view for calculation which
...
aligns to the bottom
Change-Id: I4fe9763b1d9ae2ae3e898046221b780c51515830
2016-11-04 11:08:15 +01:00