1
1
--[[
2
2
This file is part of darktable,
3
3
copyright (c) 2014 Jérémy Rosen
4
-
4
+
5
5
darktable is free software: you can redistribute it and/or modify
6
6
it under the terms of the GNU General Public License as published by
7
7
the Free Software Foundation, either version 3 of the License, or
8
8
(at your option) any later version.
9
-
9
+
10
10
darktable is distributed in the hope that it will be useful,
11
11
but WITHOUT ANY WARRANTY; without even the implied warranty of
12
12
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13
13
GNU General Public License for more details.
14
-
14
+
15
15
You should have received a copy of the GNU General Public License
16
16
along with darktable. If not, see <http://www.gnu.org/licenses/>.
17
17
]]
@@ -31,9 +31,9 @@ This plugin will add a widget at the bottom of the left column in lighttable mod
31
31
local dt = require " darktable"
32
32
dt .configuration .check_version (... ,{2 ,0 ,0 })
33
33
34
- local main_label = dt .new_widget (" label" ){selectable = true }
34
+ local main_label = dt .new_widget (" label" ){selectable = true , ellipsize = " middle " , halign = " start " }
35
35
36
- local function reset_widget ()
36
+ local function reset_widget ()
37
37
local selection = dt .gui .selection ()
38
38
local result = " "
39
39
local array = {}
0 commit comments