Set Limits::width in TextEditor layout
This commit is contained in:
parent
4081e2b192
commit
7c7e94c8d1
1 changed files with 1 additions and 1 deletions
|
|
@ -504,7 +504,7 @@ where
|
||||||
state.highlighter_settings = self.highlighter_settings.clone();
|
state.highlighter_settings = self.highlighter_settings.clone();
|
||||||
}
|
}
|
||||||
|
|
||||||
let limits = limits.height(self.height);
|
let limits = limits.width(self.width).height(self.height);
|
||||||
|
|
||||||
internal.editor.update(
|
internal.editor.update(
|
||||||
limits.shrink(self.padding).max(),
|
limits.shrink(self.padding).max(),
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue