#3746: Can't reset default background colour in Screen Preferences
---------------------------------------+----------------------------
Reporter: haiqu | Owner: Janus
Type: enhancement | Status: assigned
Priority: normal | Milestone: Unscheduled
Component: Preferences/Backgrounds | Version: R1/Development
Resolution: | Keywords:
Blocked By: | Blocking:
Has a Patch: 1 | Platform: All
---------------------------------------+----------------------------
Comment (by humdinger):
You're missing a .AddStrut(B_USE_DEFAULT_SPACING) between the Defaults and
Revert buttons.
And the Defaults button should pretty much always be enabled. Now it's
disabling when the user presses "Apply" and only becomes enabled again
when the colour picker is manipulated. One could use the DesktopColor()
call on the current BScreen to see if the defaults are already set and
disable the Defaults button if that's the case. But personally, I wouldn't
be bothered if the button were just always enabled...
--
Ticket URL: <https://dev.haiku-os.org/ticket/3746#comment:5>
Haiku <https://dev.haiku-os.org>
Haiku - the operating system.