diff options
| author | Grissiom <[email protected]> | 2013-02-01 10:27:10 +0800 |
|---|---|---|
| committer | Grissiom <[email protected]> | 2013-02-01 10:27:10 +0800 |
| commit | f06c70feed0941b5bceedcecf89e9aa22034aca8 (patch) | |
| tree | 89fd3a989b4d88fc72b39eaad6567de3a3d23874 /components/rtgui/widgets/staticline.c | |
| parent | 4f02e67bef7eacee5102d7730356663d9c889e15 (diff) | |
sync with rtgui-0.6
Diffstat (limited to 'components/rtgui/widgets/staticline.c')
| -rw-r--r-- | components/rtgui/widgets/staticline.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/components/rtgui/widgets/staticline.c b/components/rtgui/widgets/staticline.c index 2187f0131c..b3ee043f0d 100644 --- a/components/rtgui/widgets/staticline.c +++ b/components/rtgui/widgets/staticline.c @@ -73,14 +73,14 @@ void rtgui_staticline_set_orientation(rtgui_staticline_t *staticline, int orient if (orientation == RTGUI_HORIZONTAL) { /* HORIZONTAL */ - rtgui_widget_set_miniheight(RTGUI_WIDGET(staticline), 2); - rtgui_widget_set_miniwidth(RTGUI_WIDGET(staticline), 100); + rtgui_widget_set_minheight(RTGUI_WIDGET(staticline), 2); + rtgui_widget_set_minwidth(RTGUI_WIDGET(staticline), 100); } else { /* VERTICAL */ - rtgui_widget_set_miniwidth(RTGUI_WIDGET(staticline), 2); - rtgui_widget_set_miniheight(RTGUI_WIDGET(staticline), 100); + rtgui_widget_set_minwidth(RTGUI_WIDGET(staticline), 2); + rtgui_widget_set_minheight(RTGUI_WIDGET(staticline), 100); } #endif } |
