mirror of
https://github.com/eried/portapack-mayhem.git
synced 2025-05-15 05:02:13 -04:00
Move and adjust variable controlling size of audio RX waterfall.
Closes recently-opened gap between control UI and waterfall.
This commit is contained in:
parent
6917a38106
commit
3b7bec542c
2 changed files with 2 additions and 1 deletions
|
@ -505,7 +505,6 @@ void ReceiverView::on_modulation_changed(ReceiverModel::Mode mode) {
|
|||
|
||||
if( widget_content ) {
|
||||
add_child(widget_content.get());
|
||||
const ui::Dim header_height = 3 * 16;
|
||||
const ui::Rect rect { 0, header_height, parent_rect.width(), static_cast<ui::Dim>(parent_rect.height() - header_height) };
|
||||
widget_content->set_parent_rect(rect);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue