changeset 272:be34e080c435

- Made the download dpi's panels resize horizontally.
author jcid
date Tue, 10 Jun 2008 00:24:27 +0200
parents f9722dc88aeb
children 09c0f943fac1
files dpi/downloads.cc
diffstat 1 files changed, 3 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/dpi/downloads.cc	Mon Jun 09 18:24:11 2008 +0200
+++ b/dpi/downloads.cc	Tue Jun 10 00:24:27 2008 +0200
@@ -345,7 +345,7 @@
    WidgetDone = 0;
    WgetStatus = -1;
 
-   gw = 470, gh = 70;
+   gw = 400, gh = 70;
    group = new Group(0,0,gw,gh);
    group->begin();
     prTitle = new Widget(24, 7, 290, 23, shortname);
@@ -414,7 +414,6 @@
     prButton->clear_tab_to_focus();
     prButton->callback(prButton_scb, this);
 
-   //group->resizable(group);
    group->box(ROUND_UP_BOX);
    group->end();
 }
@@ -963,7 +962,6 @@
 {
    DLItem *dl_item = new DLItem(full_filename, url, action);
    mDList->add(dl_item);
-   //mPG->add(*dl_item->get_widget());
    mPG->insert(*dl_item->get_widget(), 0);
 
    _MSG("Child index = %d\n", mPG->find(dl_item->get_widget()));
@@ -1092,8 +1090,9 @@
      mPG->end();
      //mPG->spacing(10);
     mScroll->end();
-   mWin->resizable(mWin);
+    mScroll->type(ScrollGroup::VERTICAL);
    mWin->end();
+   mWin->resizable(mPG);
    mWin->callback(dlwin_esc_cb, NULL);
    mWin->show();