Openmoko Bug #1982: [Location] the last line of tag will only show up half

Openmoko Public Trac bugs at docs.openmoko.org
Tue Sep 16 18:15:59 CEST 2008


#1982: [Location] the last line of tag will only show up half
---------------------------+------------------------------------------------
    Reporter:  wendy_hung  |        Owner:  tick    
        Type:  defect      |       Status:  accepted
    Priority:  normal      |    Milestone:  Om2008.9
   Component:  Locations   |      Version:  Om2008.8
    Severity:  normal      |   Resolution:          
    Keywords:              |    Blockedby:          
Reproducible:  always      |     Blocking:          
---------------------------+------------------------------------------------
Changes (by tick):

 * cc: jeremy at openmoko.com (added)


Comment:

 Hi Jeremy,
   I created three patches that. The first two patch can help you set the
 extra margin for a scrolled_view. I think these two patches can help us
 solving this issue.

 adding four new API
 void        etk_scrolled_view_extra_vmargin_set(Etk_Scrolled_View
 *scrolled_view, int margin);
 int        etk_scrolled_view_extra_vmargin_get(Etk_Scrolled_View
 *scrolled_view);
 void        etk_scrolled_view_extra_hmargin_set(Etk_Scrolled_View
 *scrolled_view, int margin);
 int        etk_scrolled_view_extra_hmargin_get(Etk_Scrolled_View
 *scrolled_view);

 Demo code:
 diff --git a/etk/src/bin/etk_scrolled_view_test.c
 b/etk/src/bin/etk_scrolled_view_test.c
 index bc3650f..c0d7007 100644
 --- a/etk/src/bin/etk_scrolled_view_test.c
 +++ b/etk/src/bin/etk_scrolled_view_test.c
 @@ -46,6 +46,7 @@ void etk_test_scrolled_view_window_create(void *data)

     scrolled_view = etk_scrolled_view_new();
     etk_scrolled_view_dragable_set(ETK_SCROLLED_VIEW(scrolled_view), 1);
 +   etk_scrolled_view_extra_vmargin_set(ETK_SCROLLED_VIEW(scrolled_view),
 60);
     etk_container_add(ETK_CONTAINER(win), scrolled_view);

     canvas = etk_canvas_new();

 I will apply first two patches on OM.dev first. After writing more
 comments, adding properties, I will send to them upstream.
 Hope will be applied. :-P

 For python binding, because it adds new API, so that that part should be
 added to pxd and pxi files.  (maybe after applied to upstream)

 Cheers,
 Tick

-- 
Ticket URL: <https://docs.openmoko.org/trac/ticket/1982#comment:6>
docs.openmoko.org <http://docs.openmoko.org/trac/>
openmoko trac


More information about the buglog mailing list