1
0
mirror of https://github.com/emilk/egui.git synced 2026-08-29 21:00:03 -04:00

Fix typos

This commit is contained in:
Emil Ernerfeldt
2022-03-31 14:53:17 +02:00
parent 40f62b1d17
commit 73444a7116
2 changed files with 3 additions and 3 deletions

View File

@@ -130,7 +130,7 @@ impl<'a, 'b> Strip<'a, 'b> {
pub fn empty(&mut self) {
assert!(
!self.sizes.is_empty(),
"Tried using more strip cells then available."
"Tried using more strip cells than available."
);
let (width, height) = self.next_cell_size();
@@ -140,7 +140,7 @@ impl<'a, 'b> Strip<'a, 'b> {
fn cell_impl(&mut self, clip: bool, add_contents: impl FnOnce(&mut Ui)) {
assert!(
!self.sizes.is_empty(),
"Tried using more strip cells then available."
"Tried using more strip cells than available."
);
let (width, height) = self.next_cell_size();

View File

@@ -300,7 +300,7 @@ impl<'a, 'b> TableRow<'a, 'b> {
fn column(&mut self, clip: bool, add_contents: impl FnOnce(&mut Ui)) -> Response {
assert!(
!self.widths.is_empty(),
"Tried using more table columns then available."
"Tried using more table columns than available."
);
let width = self.widths[0];