summaryrefslogtreecommitdiff
path: root/Libraries/LibGUI/ScrollableWidget.cpp
AgeCommit message (Collapse)Author
2020-08-12GUI: Give MouseEvent shift() / ctrl() / alt() / logo() functionsNico Weber
2020-08-03LibGUI: WidgetScrollable scrolls horizontally when shift is pressedMathieu PATUREL
2020-07-09LibGUI: Make scrollbar thumb size relative to content sizeTom
In order to calculate a thumb size that is a representation of the visible portion (page) of the content, that information needs to be taken into account.
2020-07-04LibGUI: Fix glitchy behavior in ScrollableWidget::scroll_into_view()Andreas Kling
This function relies on visible_content_rect() which could previously return rectangles with negative size. This was causing TableViews to scroll down a little bit when assigning a model to them. Also tweak the logic so we scroll a 0x0 rect into view, giving a slightly nicer final position.
2020-06-10LibGfx: Rename Rect,Point,Size => IntRect,IntPoint,IntSizeAndreas Kling
This fits nicer with FloatRect,FloatPoint,FloatSize and gives a much better visual clue about what type of metric is being used.
2020-05-02LibGUI: Fix off-by-one in ScrollableWidgetBen Wiederhake
This was most notable in the widgets TextBox and TextEditor (and therefore also ComboBox and ColorInput), because there the cursor regularly landed just one pixel outside the visible region when going to the right.
2020-02-24LibGUI: Implement keyboard and mouse wheel events for SpinBoxTibor Nagy
2020-02-23LibGUI: Remove parent parameter to GUI::Widget constructorAndreas Kling
2020-02-06LibGUI: Remove leading G from filenamesAndreas Kling