Files
wxWidgets/include/wx
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
..
2014-03-30 00:02:23 +00:00
2014-05-16 13:01:29 +00:00
2014-03-30 00:02:23 +00:00
2014-05-15 22:32:17 +00:00
2019-01-30 17:35:54 +01:00
2018-05-18 18:49:00 -06:00
2014-03-03 07:04:37 +00:00
2018-09-24 00:11:31 +02:00
2014-08-24 01:50:11 +00:00
2014-08-24 01:50:11 +00:00
2014-08-24 01:50:11 +00:00
2015-09-23 00:52:30 +02:00
2015-09-23 00:52:30 +02:00
2019-04-21 02:09:42 +02:00
2015-09-06 17:20:42 -07:00
2014-03-30 00:02:23 +00:00
2014-05-15 23:56:58 +00:00
2014-03-30 00:02:23 +00:00
2014-11-11 07:50:33 +00:00
2019-02-02 15:54:21 +01:00
2019-01-30 17:35:54 +01:00
2019-01-30 17:35:54 +01:00
2014-03-30 00:02:23 +00:00
2016-09-25 13:21:28 -07:00
2017-11-21 13:49:21 +01:00
2014-08-24 01:50:11 +00:00
2014-08-24 01:50:11 +00:00
2014-05-15 23:56:58 +00:00
2014-05-15 23:56:58 +00:00
2019-03-12 12:22:41 +01:00
2014-08-24 01:50:11 +00:00
2015-09-23 00:52:30 +02:00
2015-09-23 00:52:30 +02:00
2017-10-01 10:03:48 -07:00
2016-02-01 13:48:48 +01:00
2015-09-23 00:52:30 +02:00
2016-09-25 13:21:28 -07:00
2019-01-30 17:35:54 +01:00
2014-03-30 00:02:23 +00:00
2014-03-30 00:02:23 +00:00
2014-03-30 00:02:23 +00:00
2018-09-22 14:44:07 +02:00
2014-03-30 00:02:23 +00:00
2015-09-23 00:52:30 +02:00
2015-09-06 17:20:42 -07:00
2017-07-16 15:03:22 +02:00
2014-08-24 01:50:11 +00:00
2019-01-30 17:35:54 +01:00
2016-02-01 13:48:48 +01:00
2016-09-25 13:21:28 -07:00
2016-02-01 13:48:48 +01:00
2016-09-25 13:21:28 -07:00
2019-01-30 17:35:54 +01:00
2017-10-08 10:38:54 +02:00
2014-08-24 01:50:11 +00:00
2014-10-25 18:06:36 +00:00
2014-08-24 01:50:11 +00:00
2014-03-30 00:02:23 +00:00
2014-05-15 22:32:17 +00:00
2014-08-24 01:50:11 +00:00
2014-08-24 01:50:11 +00:00
2014-08-24 01:50:11 +00:00
2019-01-30 17:35:54 +01:00
2016-09-25 13:21:28 -07:00
2018-03-06 23:31:01 +01:00
2014-03-30 00:02:23 +00:00
2016-09-25 13:21:28 -07:00
2019-02-17 22:42:26 -08:00
2014-08-24 01:50:11 +00:00
2014-08-24 01:50:11 +00:00
2014-03-30 00:02:23 +00:00
2019-04-21 20:04:52 +02:00
2017-06-21 22:51:57 +04:00
2018-09-22 14:44:07 +02:00
2014-03-30 00:02:23 +00:00
2014-05-16 13:01:06 +00:00
2015-09-06 17:20:42 -07:00
2016-02-21 20:12:31 +02:00
2014-08-24 01:50:11 +00:00
2016-04-12 17:15:23 +02:00
2019-01-05 23:33:35 +01:00
2019-01-30 17:35:54 +01:00
2018-12-10 19:06:18 +01:00
2014-03-30 00:02:23 +00:00
2014-03-30 00:02:23 +00:00
2014-03-30 00:02:23 +00:00
2018-08-22 08:12:11 -07:00
2017-10-27 20:13:04 +02:00
2014-05-15 23:56:58 +00:00
2019-01-30 17:35:54 +01:00
2019-01-30 17:35:54 +01:00
2019-01-30 17:35:54 +01:00
2019-01-30 17:35:54 +01:00
2019-01-30 17:35:54 +01:00
2019-01-30 17:35:54 +01:00
2018-08-05 14:21:50 +02:00