Skip to content

Commit aa344e0

Browse files
rtmongoldTurboGit
authored andcommitted
Draft: add workspace template cloning with copied-config sanitizing
gui: address workspace dialog review feedback - Disable the memory workspace button while "copy settings from existing workspace" is checked, and reenable when unchecked. - Drop _workspace_box_add in favor of dt_gui_box_add for move to GTK4.
1 parent 947b129 commit aa344e0

2 files changed

Lines changed: 427 additions & 30 deletions

File tree

data/themes/darktable.css

Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2436,6 +2436,52 @@ Details :
24362436
margin: 0em;
24372437
}
24382438

2439+
/* check row: do not inherit #workspace label padding-top (keeps indicator vertically centered with text) */
2440+
#workspace checkbutton label
2441+
{
2442+
padding-top: 0.2em;
2443+
}
2444+
2445+
#workspace .dt_workspace_template_radio_cell
2446+
{
2447+
min-width: 1.25em;
2448+
min-height: 1.55em;
2449+
padding: 0.1em 0;
2450+
margin: 0.06em 0.14em 0.06em 0;
2451+
background-color: @grey_25;
2452+
border: none;
2453+
border-radius: 5px;
2454+
}
2455+
2456+
#workspace .dt_workspace_template_radio_cell:hover
2457+
{
2458+
background-color: @grey_30;
2459+
}
2460+
2461+
#workspace .dt_workspace_template_radio_cell.dt_workspace_template_radio_on
2462+
{
2463+
background-color: alpha(@grey_85, 0.15);
2464+
}
2465+
2466+
#workspace .dt_workspace_template_radio
2467+
{
2468+
background-color: transparent;
2469+
border: none;
2470+
box-shadow: none;
2471+
padding: 0;
2472+
margin: 0;
2473+
min-width: 0;
2474+
min-height: 0;
2475+
}
2476+
2477+
/* workspace dialog: template radios are icon-only; enlarge indicator slightly */
2478+
#workspace .dt_workspace_template_radio check,
2479+
#workspace .dt_workspace_template_radio radio
2480+
{
2481+
min-width: 1.28em;
2482+
min-height: 1.28em;
2483+
}
2484+
24392485
/* splash screen */
24402486
#splashscreen
24412487
{

0 commit comments

Comments
 (0)