iwbnwif
7c7c717389
No longer return fixed values from wxGauge::GetBestSize() in wxGTK
...
Under wxGTK, wxGauge was returning fixed values for height and width.
This meant that the gauge would not center correctly in a sizer,
particularly under GTK+ 3 where the default gauge height is just a few
pixels.
Following this change, wxGauge renders correctly on GTK+ 3 and matches
the reference widget display in the gtk3-widget-factory app.
Note, this change will also result in a slimmer widget on GTK+ 2, but
the gauge height can be forced using wxGauge::SetMinSize() on the older
toolkit.
The gauge presentation is totally theme dependent under GTK+ 3. For
example, the user can have thicker gauges by setting the following in
their ~/.config/gtk-3.0/gtk.css file:
progress, trough {
min-height: 20px;
}
Closes https://github.com/wxWidgets/wxWidgets/pull/1353
2019-06-21 02:05:19 +02:00
..
2013-10-01 17:09:02 +00:00
2019-04-22 14:12:05 +02:00
2013-07-26 16:02:46 +00:00
2015-03-20 00:08:37 +01:00
2015-04-23 22:00:35 +04:00
2018-12-09 19:21:51 +01:00
2015-08-26 22:49:53 +02:00
2013-07-26 16:02:46 +00:00
2018-09-23 20:02:21 -07:00
2015-04-23 22:00:35 +04:00
2015-04-23 22:00:35 +04:00
2015-04-23 22:00:35 +04:00
2015-04-23 22:00:35 +04:00
2015-04-23 22:00:35 +04:00
2018-12-09 19:21:51 +01:00
2015-04-23 22:00:35 +04:00
2013-07-26 16:02:46 +00:00
2018-02-04 14:51:58 +01:00
2019-05-10 01:46:54 +02:00
2015-04-23 22:00:35 +04:00
2015-04-23 22:00:35 +04:00
2015-04-23 22:00:35 +04:00
2015-04-23 22:00:35 +04:00
2015-04-23 22:00:35 +04:00
2015-09-06 17:20:42 -07:00
2015-04-23 22:00:35 +04:00
2013-07-26 16:02:46 +00:00
2014-03-30 00:02:23 +00:00
2013-07-26 16:02:46 +00:00
2018-10-09 15:12:42 +02:00
2019-01-30 17:35:54 +01:00
2018-06-19 00:20:47 +02:00
2019-01-30 17:35:54 +01:00
2015-04-23 22:00:35 +04:00
2015-04-23 22:00:35 +04:00
2015-04-23 22:00:35 +04:00
2014-03-30 00:02:23 +00:00
2018-02-05 00:01:52 +01:00
2018-07-11 23:48:14 +02:00
2014-03-30 00:02:23 +00:00
2013-07-26 16:02:46 +00:00
2015-04-23 22:00:35 +04:00
2015-04-23 22:00:35 +04:00
2015-04-23 22:00:35 +04:00
2017-11-03 11:45:50 -07:00
2018-09-17 15:24:40 +02:00
2015-04-23 22:00:35 +04:00
2015-04-23 22:00:35 +04:00
2015-08-26 22:49:53 +02:00
2019-06-21 02:05:19 +02:00
2019-06-18 09:50:27 -07:00
2016-11-23 09:28:28 -08:00
2014-06-02 01:15:11 +00:00
2017-10-21 22:10:35 +02:00
2015-04-23 22:00:35 +04:00
2016-01-16 10:55:01 -08:00
2015-04-23 22:00:35 +04:00
2017-03-07 12:47:33 -05:00
2019-03-26 10:04:35 -07:00
2015-04-23 22:00:35 +04:00
2014-03-30 00:02:23 +00:00
2015-04-23 22:00:35 +04:00
2017-09-10 01:02:06 +02:00
2015-04-23 22:00:35 +04:00
2019-01-30 17:35:54 +01:00
2018-05-21 12:34:04 +02:00
2018-12-09 19:21:51 +01:00
2018-12-09 19:21:51 +01:00
2015-04-23 22:00:35 +04:00
2015-04-23 22:00:35 +04:00
2017-02-24 23:37:44 +01:00
2019-01-28 00:34:34 +01:00
2015-04-23 22:00:35 +04:00
2018-12-09 19:21:51 +01:00
2018-05-12 19:14:00 +02:00
2015-04-23 22:00:35 +04:00
2017-12-24 22:38:10 +01:00
2015-04-23 22:00:35 +04:00
2015-04-23 22:00:35 +04:00
2015-04-23 22:00:35 +04:00
2019-05-24 13:32:52 -07:00
2019-04-22 14:12:05 +02:00
2016-02-06 19:13:35 +01:00
2015-04-23 22:00:35 +04:00
2015-04-23 22:00:35 +04:00
2017-08-01 08:37:15 -07:00
2017-10-22 00:25:57 +02:00
2017-04-22 20:00:48 +01:00
2018-02-04 14:51:58 +01:00