We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 653fda4 commit 2b7c53fCopy full SHA for 2b7c53f
src/gui.rs
@@ -308,8 +308,9 @@ impl MyApp {
308
let panel_height = ui.available_size().y;
309
let height = ui.available_size().y * self.plot_serial_display_ratio;
310
let plots_height = height;
311
+ // need to subtract 12.0, this seems to be the height of the separator of two adjacent plots
312
let plot_height =
- plots_height / (self.serial_devices.number_of_plots[self.device_idx] as f32);
313
+ plots_height / (self.serial_devices.number_of_plots[self.device_idx] as f32) - 12.0;
314
let spacing = 5.0;
315
let width = ui.available_size().x - 2.0 * border - RIGHT_PANEL_WIDTH;
316
0 commit comments