diff options
author | Jorge Arellano Cid <jcid@dillo.org> | 2011-08-05 09:28:26 -0400 |
---|---|---|
committer | Jorge Arellano Cid <jcid@dillo.org> | 2011-08-05 09:28:26 -0400 |
commit | 97fcaa47455240d4ae2c6b4a254e4d3cbccd110e (patch) | |
tree | 2c3e7f9f503e2c505bd34236d4135a4d45dda8fe /src/ui.hh | |
parent | d27ee4a09a9c0dd8a994eb3ac49cbacc7017e556 (diff) |
Fix resize for the corner case of starting dillo in a tiny window
FLTK has no problem in resizing from a "fitting" size into a "compressed" one,
but if it starts compressed, things go wild.
Diffstat (limited to 'src/ui.hh')
-rw-r--r-- | src/ui.hh | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -31,6 +31,11 @@ typedef enum { UI_HIDDEN = 1 } UIPanelmode; + +// Min size to fit the full UI +#define UI_MIN_W 600 +#define UI_MIN_H 200 + // Private classes class CustProgressBox; class CustTabs; |