Skip to content
Snippets Groups Projects
Unverified Commit 7816fd24 authored by trop[bot]'s avatar trop[bot] Committed by GitHub
Browse files

fix: ensure widget size is set correctly on linux on small screens (#28756)


When creating a widget on linux the bounds are restricted to the screen
size, when calling SetSize / SetBounds they are not.  This fixes this
initialization issue by calling SetBounds after widget creation.

Noticed this issue while running linux tests on xvfb with a screen size
smaller than the default electron window size (resulted in a failed
test).

Co-authored-by: default avatarSamuel Attard <samuel.r.attard@gmail.com>
parent bcf2d096
No related merge requests found
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment