mirror of
https://github.com/emilk/egui.git
synced 2026-08-31 05:40:03 -04:00
Fix dobule "for" typo (#3189)
This commit is contained in:
@@ -72,13 +72,13 @@ impl<'a> StripBuilder<'a> {
|
|||||||
self
|
self
|
||||||
}
|
}
|
||||||
|
|
||||||
/// Allocate space for for one column/row.
|
/// Allocate space for one column/row.
|
||||||
pub fn size(mut self, size: Size) -> Self {
|
pub fn size(mut self, size: Size) -> Self {
|
||||||
self.sizing.add(size);
|
self.sizing.add(size);
|
||||||
self
|
self
|
||||||
}
|
}
|
||||||
|
|
||||||
/// Allocate space for for several columns/rows at once.
|
/// Allocate space for several columns/rows at once.
|
||||||
pub fn sizes(mut self, size: Size, count: usize) -> Self {
|
pub fn sizes(mut self, size: Size, count: usize) -> Self {
|
||||||
for _ in 0..count {
|
for _ in 0..count {
|
||||||
self.sizing.add(size);
|
self.sizing.add(size);
|
||||||
|
|||||||
Reference in New Issue
Block a user