diff --git a/rtdata/themes/RawTherapee-GTK3-20_.css b/rtdata/themes/RawTherapee-GTK3-20_.css index 4417d2d7b..e8e4b7f99 100644 --- a/rtdata/themes/RawTherapee-GTK3-20_.css +++ b/rtdata/themes/RawTherapee-GTK3-20_.css @@ -139,6 +139,7 @@ grid separator.vertical, box separator.vertical { padding: 4px; } + /* Frames in the toolbox. Not MyExpander frames. */ eventbox.frame { border-color: #565656; @@ -796,3 +797,11 @@ paned.vertical > separator { #RightNotebook #ToolPanelNotebook stack { margin: 4px; } + +#RightNotebook #HistoryPanel { + padding: 4px; +} + +#RightNotebook scrolledwindow { + padding: 4px; +} diff --git a/rtgui/history.cc b/rtgui/history.cc index a8942fbda..11f8c63a0 100644 --- a/rtgui/history.cc +++ b/rtgui/history.cc @@ -42,6 +42,7 @@ History::History (bool bookmarkSupport) : blistener(nullptr), tpc (nullptr), bmn hscrollw->set_policy (Gtk::POLICY_NEVER, Gtk::POLICY_AUTOMATIC); Gtk::Frame* histFrame = Gtk::manage (new Gtk::Frame (M("HISTORY_LABEL"))); + histFrame->set_name ("HistoryPanel"); histFrame->add (*hscrollw); hTreeView = Gtk::manage (new Gtk::TreeView ()); @@ -112,6 +113,7 @@ History::History (bool bookmarkSupport) : blistener(nullptr), tpc (nullptr), bmn bscrollw->set_size_request (-1, 45); Gtk::Frame* bmFrame = Gtk::manage (new Gtk::Frame (M("HISTORY_SNAPSHOTS"))); + bmFrame->set_name("Snapshots"); Gtk::VBox* bmBox = Gtk::manage (new Gtk::VBox ()); bmFrame->add (*bmBox); bmBox->pack_start (*bscrollw, Gtk::PACK_EXPAND_WIDGET, 4);