Andreas Kling
3a01df9fb1
GWidget: Fix accidentally ignored set_relative_rect() with empty size
...
To protect the layout system from negative input values, we were using
an empty Rect() whenever an empty rect (width/height <= 0) was provided
to set_relative_rect().
This caused Terminal's scrollbar code to fail, since it relies on first
setting only the scrollbar width on startup, and then setting up the
proper geometry in response to the initial resize event.
Fixes #753 .
2019-11-10 12:57:37 +01:00
..
2019-09-22 00:25:25 +02:00
2019-09-29 20:37:02 +02:00
2019-09-21 18:13:17 +02:00
2019-09-22 00:31:54 +02:00
2019-10-22 21:38:04 +02:00
2019-10-22 21:38:04 +02:00
2019-10-08 21:45:29 +02:00
2019-10-06 22:00:04 +02:00
2019-07-09 22:10:03 +02:00
2019-07-09 22:10:03 +02:00
2019-11-08 11:40:25 +01:00
2019-10-25 15:29:19 +02:00
2019-07-04 16:16:50 +02:00
2019-07-04 16:16:50 +02:00
2019-08-25 21:46:39 +02:00
2019-09-21 19:37:38 +02:00
2019-07-18 10:18:16 +02:00
2019-09-21 18:58:48 +02:00
2019-11-08 11:40:25 +01:00
2019-09-14 09:19:05 +02:00
2019-09-21 19:28:28 +02:00
2019-09-22 00:31:54 +02:00
2019-11-08 11:40:25 +01:00
2019-09-06 15:36:54 +02:00
2019-09-22 20:50:39 +02:00
2019-09-22 20:50:39 +02:00
2019-10-03 08:17:41 +02:00
2019-10-03 08:17:41 +02:00
2019-07-28 10:24:58 +02:00
2019-10-26 21:42:34 +02:00
2019-10-26 21:42:34 +02:00
2019-09-17 09:26:10 +02:00
2019-09-17 09:26:10 +02:00
2019-08-29 19:30:48 +02:00
2019-09-06 15:36:54 +02:00
2019-07-18 10:18:16 +02:00
2019-09-21 19:21:36 +02:00
2019-07-18 10:18:16 +02:00
2019-09-21 16:13:33 +02:00
2019-07-11 15:49:47 +02:00
2019-07-18 10:18:16 +02:00
2019-09-22 00:25:25 +02:00
2019-09-22 00:31:54 +02:00
2019-09-15 15:47:26 +02:00
2019-09-21 15:47:58 +02:00
2019-10-29 16:36:50 +01:00
2019-08-14 20:30:18 +02:00
2019-09-16 07:49:43 +02:00
2019-09-21 15:25:08 +02:00
2019-11-05 20:41:27 +01:00
2019-11-05 20:41:27 +01:00
2019-10-02 20:24:29 +02:00
2019-10-02 20:24:29 +02:00
2019-10-22 21:38:04 +02:00
2019-08-05 18:32:04 +02:00
2019-07-04 16:16:50 +02:00
2019-11-08 11:40:25 +01:00
2019-09-13 21:29:47 +02:00
2019-11-08 11:40:25 +01:00
2019-07-24 09:13:06 +02:00
2019-11-08 11:40:25 +01:00
2019-09-06 15:36:54 +02:00
2019-09-22 00:31:54 +02:00
2019-09-30 17:20:53 +02:00
2019-09-07 21:39:44 +02:00
2019-10-22 21:38:04 +02:00
2019-09-22 00:31:54 +02:00
2019-11-09 11:56:28 +01:00
2019-09-07 19:33:58 +02:00
2019-09-17 09:26:10 +02:00
2019-07-04 16:16:50 +02:00
2019-07-18 10:18:16 +02:00
2019-08-14 20:31:46 +02:00
2019-09-21 16:31:12 +02:00
2019-11-10 12:57:37 +01:00
2019-11-10 12:57:37 +01:00
2019-07-20 22:39:24 +02:00
2019-09-21 15:46:47 +02:00
2019-10-09 21:16:49 +02:00
2019-10-09 21:16:49 +02:00
2019-11-10 12:57:37 +01:00
2019-11-10 12:57:37 +01:00
2019-07-04 16:16:50 +02:00
2019-09-06 15:36:54 +02:00
2019-11-10 12:57:37 +01:00
2019-11-10 12:57:37 +01:00
2019-09-07 21:39:44 +02:00
2019-08-11 18:11:25 +02:00
2019-09-21 19:28:28 +02:00
2019-09-22 00:31:54 +02:00
2019-09-04 18:53:46 +02:00
2019-09-21 16:11:02 +02:00
2019-07-07 21:50:38 +02:00
2019-09-22 00:31:54 +02:00
2019-10-24 09:57:27 +02:00
2019-10-24 09:57:27 +02:00
2019-11-09 00:41:00 +01:00
2019-09-21 16:03:59 +02:00
2019-10-23 19:51:09 +02:00
2019-09-22 00:31:54 +02:00
2019-07-04 16:16:50 +02:00
2019-10-28 19:08:48 +01:00
2019-11-01 21:31:06 +01:00
2019-11-01 21:31:06 +01:00
2019-11-10 12:57:37 +01:00
2019-11-10 12:57:37 +01:00
2019-11-03 09:57:14 +01:00
2019-11-03 09:57:14 +01:00
2019-11-09 00:41:00 +01:00
2019-11-09 00:41:00 +01:00
2019-11-09 11:57:08 +01:00
2019-09-21 16:06:43 +02:00
2019-10-29 16:36:50 +01:00
2019-10-22 21:37:11 +02:00
2019-11-10 12:57:37 +01:00
2019-11-10 12:57:37 +01:00
2019-11-08 11:40:25 +01:00
2019-10-26 12:28:54 +02:00
2019-11-08 11:40:25 +01:00
2019-11-08 11:40:25 +01:00
2019-07-14 00:06:47 +02:00
2019-11-03 09:26:22 +01:00
2019-11-08 11:40:25 +01:00