summaryrefslogtreecommitdiff
path: root/src/ui.hh
diff options
context:
space:
mode:
authorJorge Arellano Cid <jcid@dillo.org>2011-08-05 09:28:26 -0400
committerJorge Arellano Cid <jcid@dillo.org>2011-08-05 09:28:26 -0400
commit97fcaa47455240d4ae2c6b4a254e4d3cbccd110e (patch)
tree2c3e7f9f503e2c505bd34236d4135a4d45dda8fe /src/ui.hh
parentd27ee4a09a9c0dd8a994eb3ac49cbacc7017e556 (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.hh5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/ui.hh b/src/ui.hh
index 68b7a972..57611f86 100644
--- a/src/ui.hh
+++ b/src/ui.hh
@@ -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;