mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-01-19 00:37:25 +01:00
[escher/view] setFrame and layoutSubviews can be forced
This commit is contained in:
@@ -29,12 +29,13 @@ void ScriptNameCell::didBecomeFirstResponder() {
|
||||
Container::activeApp()->setFirstResponder(&m_textField);
|
||||
}
|
||||
|
||||
void ScriptNameCell::layoutSubviews() {
|
||||
void ScriptNameCell::layoutSubviews(bool force) {
|
||||
KDRect cellBounds = bounds();
|
||||
m_textField.setFrame(KDRect(cellBounds.x() + k_leftMargin,
|
||||
cellBounds.y(),
|
||||
cellBounds.width() - k_leftMargin,
|
||||
cellBounds.height()));
|
||||
cellBounds.height()),
|
||||
force);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user