summaryrefslogtreecommitdiffstats
path: root/src/window.rs
diff options
context:
space:
mode:
authorLibravatar Clark Moody <clark@clarkmoody.com>2020-05-26 16:11:49 -0500
committerLibravatar Clark Moody <clark@clarkmoody.com>2020-05-26 16:24:18 -0500
commit334dd098170d56c004d7a97bdfbbffe6f63f0ebd (patch)
treee76e31606603f69785b81201d87f1c9ba0b22cb5 /src/window.rs
parent5324eb10242a7dd33f5271dc6fc9eeb09eb2cb50 (diff)
downloadiced-334dd098170d56c004d7a97bdfbbffe6f63f0ebd.tar.gz
iced-334dd098170d56c004d7a97bdfbbffe6f63f0ebd.tar.bz2
iced-334dd098170d56c004d7a97bdfbbffe6f63f0ebd.zip
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.
Diffstat (limited to 'src/window.rs')
0 files changed, 0 insertions, 0 deletions