comparison src/gui/pages/now_playing.cc @ 97:18979b066284

animia/unix: fix a bunch of stuff that breaks OS X things
author Paper <mrpapersonic@gmail.com>
date Thu, 02 Nov 2023 13:14:15 -0400
parents 2c27582a177c
children b315f3759c56
comparison
equal deleted inserted replaced
96:bd68e4393e6f 97:18979b066284
64 _title.reset(new TextWidgets::Title("", _main.get())); 64 _title.reset(new TextWidgets::Title("", _main.get()));
65 main_layout->addWidget(_title.get()); 65 main_layout->addWidget(_title.get());
66 66
67 _info.reset(new AnimeInfoWidget(_main.get())); 67 _info.reset(new AnimeInfoWidget(_main.get()));
68 _info->setSizePolicy(QSizePolicy::Preferred, QSizePolicy::Expanding); 68 _info->setSizePolicy(QSizePolicy::Preferred, QSizePolicy::Expanding);
69 _info->layout()->setContentsMargins(0, 0, 0, 0);
69 main_layout->addWidget(_info.get()); 70 main_layout->addWidget(_info.get());
70 71
71 /* "sidebar", includes... just the anime image :) */ 72 /* "sidebar", includes... just the anime image :) */
72 _sidebar.reset(new QWidget(this)); 73 _sidebar.reset(new QWidget(this));
73 QVBoxLayout* sidebar_layout = new QVBoxLayout(_sidebar.get()); 74 QVBoxLayout* sidebar_layout = new QVBoxLayout(_sidebar.get());