+void wedln_size_hints(WEdln *wedln, WSizeHints *hints_ret)
+{
+ int w=1, h=1;
+
+ if(WEDLN_BRUSH(wedln)!=NULL){
+ mod_query_get_minimum_extents(WEDLN_BRUSH(wedln), FALSE, &w, &h);
+ w+=wedln->prompt_w+wedln->info_w;
+ w+=grbrush_get_text_width(WEDLN_BRUSH(wedln), "xxxxxxxxxx", 10);
+ }
+
+ hints_ret->min_set=TRUE;
+ hints_ret->min_width=w;
+ hints_ret->min_height=h;
+}
+
+