gui: Spacing improvements
Signed-off-by: Anna Schumaker <schumaker.anna@gmail.com>
This commit is contained in:
parent
5df8c94ae5
commit
b571018a53
|
@ -125,6 +125,7 @@ PQTab::PQTab() : size_label("0", 0.5, 0.5)
|
|||
close_icon.set(Gtk::Stock::CLOSE, Gtk::ICON_SIZE_MENU);
|
||||
close_button.set_image(close_icon);
|
||||
close_button.set_relief(Gtk::RELIEF_NONE);
|
||||
|
||||
pack_start(size_label, true, true);
|
||||
pack_start(close_button, false, false);
|
||||
show_all();
|
||||
|
@ -155,6 +156,7 @@ private:
|
|||
|
||||
/* Page widgets */
|
||||
Gtk::HBox page_toolbar;
|
||||
Gtk::HSeparator page_sep;
|
||||
Gtk::SearchEntry page_entry;
|
||||
Gtk::ToggleButton page_repeat;
|
||||
Gtk::ScrolledWindow page_scroll;
|
||||
|
@ -198,6 +200,7 @@ OcarinaPage::OcarinaPage(const std::string &name, const std::string &icon,
|
|||
}
|
||||
|
||||
OcarinaPage::OcarinaPage(Playqueue *pq, unsigned int flags, unsigned int pg)
|
||||
: init_flags(flags)
|
||||
{
|
||||
PQTab *pqt = new PQTab();
|
||||
tab = pqt;
|
||||
|
@ -218,6 +221,9 @@ void OcarinaPage::setup_common(Playqueue *pq, unsigned int pg)
|
|||
get_builder()->get_widget("o_notebook", notebook);
|
||||
model = Glib::RefPtr<PlayqueueModel>(new PlayqueueModel(pq));
|
||||
|
||||
set_margin_left(1);
|
||||
set_margin_right(1);
|
||||
|
||||
setup_toolbar();
|
||||
setup_treeview();
|
||||
show_all();
|
||||
|
@ -246,6 +252,7 @@ void OcarinaPage::setup_toolbar()
|
|||
}
|
||||
|
||||
pack_start(page_toolbar, false, false);
|
||||
pack_start(page_sep, false, false);
|
||||
}
|
||||
|
||||
void OcarinaPage::setup_treeview()
|
||||
|
|
Loading…
Reference in New Issue