Skip to content

gui_toolkit 0.359.0

Choose a tag to compare

@sachahjkl sachahjkl released this 25 Nov 22:09
· 326 commits to master since this release
v0.359.0
813dfda

Added

  • A selection rectangle starts from the empty part of a row: in a ui.Table of several with rubber_band, in Details and List, a drag from after the text or between the cells draws the rectangle; a click there selects when the button is let go, and the list keeps half a row of room at its end. Ctrl and a drag from a row's text start it too. A program with rows of its own takes ui.List_State.pressed_empty (or ui.row_content_at), ui.item_band_row_press, the row_press of ui.item_band_update and ui.Virtual_List.end_space.

Fixed

  • The selection rectangle shows wherever the view is scrolled: ui.item_band_update builds it in the view's own box, at its scroll, so it is no longer drawn out of a scrolled list or of Columns. A drag started with Ctrl on an item goes on when that item scrolls out, the rows repaint at once, and a band whose view was hidden does not follow a later press.