Merge branch 'dk_notifications'
This commit is contained in:
commit
0d86153704
@ -9,6 +9,7 @@
|
|||||||
#include "Notebook.hpp"
|
#include "Notebook.hpp"
|
||||||
#include "ButtonsDescription.hpp"
|
#include "ButtonsDescription.hpp"
|
||||||
#include "OG_CustomCtrl.hpp"
|
#include "OG_CustomCtrl.hpp"
|
||||||
|
#include <initializer_list>
|
||||||
|
|
||||||
namespace Slic3r {
|
namespace Slic3r {
|
||||||
|
|
||||||
@ -504,7 +505,7 @@ void PreferencesDialog::build(size_t selected_tab)
|
|||||||
void PreferencesDialog::update_ctrls_alignment()
|
void PreferencesDialog::update_ctrls_alignment()
|
||||||
{
|
{
|
||||||
int max_ctrl_width{ 0 };
|
int max_ctrl_width{ 0 };
|
||||||
std::initializer_list og_list = { m_optgroup_general.get(), m_optgroup_camera.get(), m_optgroup_gui.get() };
|
std::initializer_list<ConfigOptionsGroup*> og_list = { m_optgroup_general.get(), m_optgroup_camera.get(), m_optgroup_gui.get() };
|
||||||
for (auto og : og_list) {
|
for (auto og : og_list) {
|
||||||
if (int max = og->custom_ctrl->get_max_win_width();
|
if (int max = og->custom_ctrl->get_max_win_width();
|
||||||
max_ctrl_width < max)
|
max_ctrl_width < max)
|
||||||
|
Loading…
Reference in New Issue
Block a user