Tobias Hunger
a3b86690ff
[reorg]: Move the rendering backends into internal
2022-01-31 16:00:50 +01:00
Tobias Hunger
bfca0e3573
Mass update copyright messages to be more REUSE compliant
2021-12-22 10:06:12 +01:00
Simon Hausmann
13de800ba3
Internal cleanup: Rename layouting_info to layout_info
...
That's making the call on the Component VTable consistent(ish) with the Item VTable.
2021-11-08 10:24:30 +01:00
Simon Hausmann
dec6c6ca51
Work around crash in Qt mac style when drawing scrollbars with invalid size
...
Fixes #595
2021-10-19 12:36:26 +02:00
Simon Hausmann
6dce5ab32e
Fix rendering of push buttons with QStyle on macOS
...
The button bevel was rendered upside down, which happens due to some
weird double y-axis inversion, which goes away when passing the QWidget
pointer to the style. When using the Qt backend, we can do that.
2021-10-06 14:39:56 +02:00
Olivier Goffart
dc10916129
Attempt to improve a bit the look of the native scrollbar
...
This tries to adjust the position of the scrollbar depending of the value of
SH_ScrollView_FrameOnlyAroundContents
2021-10-01 12:58:00 +02:00
Simon Hausmann
ed3d848d02
Fix native widget rendering when the window is inactive
...
Set QStyle::State_Active conditional to whether the window is active,
which maps to Qt's active window concept and winit's has-focus (until we
render popups differently).
2021-09-15 15:34:34 +02:00
Olivier Goffart
cbf22d494e
TextEdit
2021-09-06 21:52:12 +02:00
Olivier Goffart
50ca8a924c
Split qt_widgets.rs in several modules
...
It was the bigger rust file in the repository
2021-09-02 12:18:21 +02:00