Commit Graph

28 Commits

Author SHA1 Message Date
Pandagrapher
b57d1026a3 Merge with 'Beep6581/dev' 2023-08-24 13:48:07 +02:00
Pandagrapher
bf988ad274 Updates font management for hidpi
Improvements:
- Cleanup of default options files to use OS font by default
- Comments updates
- Simplify font size management as Pango/Gtk directly manage pt/px conversions

Bug fix:
- If Preference panel is closed by "cancel", font size was not reinitialized to previously saved one
- Font size was specified in "RawTherapee.css" theme and so user choice could be ignored
2023-08-23 13:43:07 +02:00
Pandagrapher
58b7d41694 Cleanup of theme selection
For hidpi support, Gtk min version has been increased to 3.24.3. Theme logics based on Gtk version is so now useless
2023-08-16 19:07:39 +02:00
Hombre
55759c04e3 See #3446: the theme filenames now includes a code for version handling.
The theme filename must use a template, that will be explained with this
example:

mytheme-GTK3-20_22.css

Everything before -GTK3... is the theme (short) name, the [-GTK3-] is a
mandatory part, 20 is the included version where support begins and 22
is the included version where the support ends. One of this two version
parameters can be ommited (but not both of course), which make RT
understand "is compatible from all version up to xx" (e.g.
mytheme-GTK3-_22.css) or "is compatible from version yy and above" (e.g.
mytheme-GTK3-20_.css)

The RawTherapee-GTK3-_19.css comes 'as is' from the gtk3 branch and has
still to be tuned.
2016-11-20 02:22:03 +01:00
Hombre
2b913bf213 More style fine tuning, including for the Preferences window 2016-11-14 03:06:49 +01:00
Morgan Hardwood
642abb6e2d Add spacing between frames and frame contents. 2016-11-12 20:35:52 +01:00
Morgan Hardwood
666698dc02 GTK3 fixes, handles issue #3446 and fixes #3495 2016-11-12 20:13:10 +01:00
Hombre
2fcc5b75c8 Solving issue #3497, #3500, #3498 and #3483
For issue #3483, the old behavior is restored, i.e. the minimum width of
the ProfilePanel combobox is the maximum width of its content.

Style updated for the Exif and IPTC sub-tabs
2016-11-09 00:09:52 +01:00
Hombre
6438645b21 Reverting the "no title when maximized" change, better tab style,
Editor tab icon now correctly set to the left of the label

(see issue #3446)
2016-11-03 00:36:35 +01:00
Hombre
965cadb52e New batch of update for issue 3446
This commit include :
- cleanup rtgui/retinex.cc file (constructor only) and switched to
Gtk::Grid (the new standard) instead of Gtk::Box. This however doesn't
solve the issue of the Transmission curves in the Retinex tool, with
wrong resize of the Frame when folding/unfolding the curves.
- better alignment of the Histogram panel now with 4px of padding on the
left and right side
- Threshold selector now use the Scale's Trough style to draw its box
and sliders
- Curve's background are darker and restricted to the curve diagram
- Diagonal and Flat curves has been converted to Gtk::Grid as well
- A special color is now used for unsensitive Threshold selector and
Sclaes widgets
- Gap around the main Window has been removed on windows to circumvent a
bug in Gtk3, but the window can now only be maximized (usual use case)
or resized vertically by the top border only.
- Buttons at the bottom of the Editor panel has now the same height
2016-11-01 20:39:41 +01:00
Hombre
4d19b97109 More bugfix for Gtk3.22 2016-10-24 01:58:52 +02:00
Hombre
c1a6abbd43 More bugfix from issue #3446 2016-10-23 21:05:23 +02:00
Hombre
b2af94ac74 More bugfix to the Gtk3 RawTherapee theme, see issue #3446 2016-10-22 02:13:50 +02:00
Hombre
c2888d634f Bugfx: there was free space around the main window when maximized
See issue #3446
2016-10-20 23:14:55 +02:00
Hombre
395611f8e1 Bugfix of the Scale's theme, was overflowing its allocated space 2016-10-20 22:47:04 +02:00
Hombre
f6a9e13297 New batch of Theme bugfix, see issue #3446 (still WIP) 2016-10-20 22:38:37 +02:00
Hombre
712468197d Bugfix and style update of RawTherapee.css
Still unfinished - Big thank you to DrSlony for his help
2016-10-19 02:20:12 +02:00
Hombre
7f0a96e448 Fix #3203 and restore the hover color for the 'Enabled' buttons 2016-03-12 00:09:30 +01:00
Hombre
830c58877f Reintroduce some set_border_width to circumvent some Gtk bugs.
Also fix a bug that let you grab the first and last point of the
diagonal curve more easily now, when they are at their left/right
extremum.
2016-02-29 22:08:05 +01:00
Hombre
3577d87862 Removed set_border_width from the code, padding and margin values still
to be set in CSS file
2016-02-23 21:36:00 +01:00
Hombre
a838036ab2 Make the borders of Tools' GtkFrame more subtle 2016-01-20 23:49:31 +01:00
Hombre
93d01f3a82 GUI bugfix (histogram) + touchup
- Fix the Histogram background and grid lines
- Add 1 pixel of empty space between in the Histogram panel
- Add a light grey color border for Gtk::DrawingArea oject, for those
using the render_frame method
- In the Toolbox, make the nested MyExpander and Gtk::Frame lighter, and
adjust the Gtk::DrawingArea background color accordingly
- All added class to the MyCurve has been removed, so that the
Gtk::Drawing object's style is used
- The Retinex Settings' expander is now level 2 for GUI consistency
2016-01-17 04:45:01 +01:00
Beep6581
8ae520e794 Target the Filmstrip/File Browser frame directly with CSS, fixes #2983 2015-12-17 05:03:44 +01:00
Beep6581
169f4d7619 Added background and border color to frames in Preferences 2015-12-02 16:18:42 +01:00
Beep6581
372daee9c6 Added CSS selected state for .view elements 2015-11-23 16:16:26 +01:00
Beep6581
d8ad81c85c Shrunk down tab buttons, fixed selected text highlight, added hover and inactive adjuster button states, removed FileBrowser frame's padding which fixes bug #2948 and bug #2949 2015-11-21 12:03:05 +01:00
Beep6581
7c7f3cf1d0 CSS theme improvements with .cc code changes 2015-11-19 20:15:33 +01:00
Beep6581
a9aa5308b5 Gtk3 theme ready, Gtk2 stuff removed, slim mode removed, RT logo images enhanced. 2015-11-17 02:52:38 +01:00