mirror of
https://github.com/emilk/egui.git
synced 2026-08-29 21:00:03 -04:00
Fix typos
This commit is contained in:
@@ -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();
|
||||
|
||||
@@ -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];
|
||||
|
||||
Reference in New Issue
Block a user