diff --git a/sdrplay_source/src/main.cpp b/sdrplay_source/src/main.cpp index 4330335..7f10a8a 100644 --- a/sdrplay_source/src/main.cpp +++ b/sdrplay_source/src/main.cpp @@ -681,11 +681,10 @@ private: config.conf["device"] = _this->devNameList[_this->devId]; config.release(true); } - - ImGui::PushItemWidth(menuWidth - ImGui::CalcTextSize("IF Mode").x - 10); + ImGui::Text("IF Mode"); ImGui::SameLine(); - + ImGui::SetNextItemWidth(menuWidth - ImGui::GetCursorPosX()); if (ImGui::Combo(CONCAT("##sdrplay_ifmode", _this->name), &_this->ifModeId, ifModeTxt)) { if(_this->ifModeId != 0){ _this->bandwidth = ifModes[_this->ifModeId].bw; @@ -1081,4 +1080,4 @@ MOD_EXPORT void _DELETE_INSTANCE_(ModuleManager::Instance* instance) { MOD_EXPORT void _END_() { config.disableAutoSave(); config.save(); -} \ No newline at end of file +}