Commit graph

8 commits

Author SHA1 Message Date
Héctor Ramón Jiménez
041cab0fa4 Resize PaneGrid without modifier keys 2020-06-08 18:11:29 +02:00
Clark Moody
858eafe22e Structured test cases 2020-05-27 14:24:33 -05:00
Clark Moody
9079014974 Tests for axis split 2020-05-26 16:47:29 -05:00
Clark Moody
334dd09817 Pane Grid spacing applied prior to rounding
On low-DPI screens, the rounding order of operations made it impossible
to produce an odd-pixel spacing. Specifying 1, for instance, produced
zero space between panes.

This approach subtracts half the spacing from the first pane prior to
rounding and uses the whole spacing for the second pane size and
coordinate.
2020-05-26 16:24:18 -05:00
Héctor Ramón Jiménez
bd74c4e577 Write documentation for pane_grid 2020-03-19 09:30:54 +01:00
Héctor Ramón Jiménez
21a4095a99 Fix spacing calculation in Axis::split 2020-03-17 04:15:17 +01:00
Héctor Ramón Jiménez
ec334bdd36 Improve pane selection when resizing a PaneGrid 2020-03-14 09:01:52 +01:00
Héctor Ramón Jiménez
a79603e4ca Rename Split to Axis 2020-03-14 06:32:56 +01:00
Renamed from native/src/widget/pane_grid/split.rs (Browse further)