Tweaked some space here and there, thanks to Beep6581 (issue #3446)

This commit is contained in:
Hombre
2016-12-12 01:18:27 +01:00
parent 6bd0dbacfe
commit e6aff9cbf7
4 changed files with 47 additions and 10 deletions

View File

@@ -326,6 +326,7 @@ EditorPanel::EditorPanel (FilePanel* filePanel)
profilep = Gtk::manage (new ProfilePanel ());
ppframe = new Gtk::Frame ();
ppframe->set_name("ProfilePanel");
ppframe->add (*profilep);
ppframe->set_label (M ("PROFILEPANEL_LABEL"));
//leftbox->pack_start (*ppframe, Gtk::PACK_SHRINK, 4);
@@ -559,8 +560,10 @@ EditorPanel::EditorPanel (FilePanel* filePanel)
editbox->show_all ();
// build screen
hpanedl = Gtk::manage (new Gtk::HPaned());
hpanedr = Gtk::manage (new Gtk::HPaned());
hpanedl = Gtk::manage (new Gtk::Paned(Gtk::ORIENTATION_HORIZONTAL));
hpanedl->set_name("EditorLeftPaned");
hpanedr = Gtk::manage (new Gtk::Paned(Gtk::ORIENTATION_HORIZONTAL));
hpanedr->set_name("EditorRightPaned");
leftbox->reference ();
vboxright->reference ();

View File

@@ -67,8 +67,8 @@ protected:
Gtk::ToggleButton* tbBeforeLock;
//bool bAllSidePanelsVisible;
Gtk::ToggleButton* beforeAfter;
Gtk::HPaned* hpanedl;
Gtk::HPaned* hpanedr;
Gtk::Paned* hpanedl;
Gtk::Paned* hpanedr;
Gtk::Image *iHistoryShow, *iHistoryHide;
Gtk::Image *iTopPanel_1_Show, *iTopPanel_1_Hide;
Gtk::Image *iRightPanel_1_Show, *iRightPanel_1_Hide;

View File

@@ -42,8 +42,6 @@ void ProfilePanel::cleanup ()
ProfilePanel::ProfilePanel () : storedPProfile(nullptr), lastFilename(""), imagePath("")
{
set_name("ProfilePanel");
tpc = nullptr;
profileFillModeOnImage = new RTImage("profile-filled.png");