diff options
author | Wuzzy <almikes@aol.com> | 2016-12-14 15:57:52 +0100 |
---|---|---|
committer | Wuzzy <almikes@aol.com> | 2016-12-14 15:57:52 +0100 |
commit | 0d423d2970a71f99991068ac543d5a86c0b91503 (patch) | |
tree | 2d52af62dd3d79efa7f24696a8e736ce3e52ce48 /init.lua | |
parent | d258ee39834a90792e4f89aea7696c4a3479520d (diff) |
Reduce default text widget width
Diffstat (limited to 'init.lua')
-rw-r--r-- | init.lua | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -422,7 +422,7 @@ doc.entry_builders = {} -- into spaces local linebreaker_single = function(text, linelength) if linelength == nil then - linelength = 80 + linelength = 77 end local remain = linelength local res = {} @@ -518,7 +518,7 @@ doc.widgets.text = function(data, x, y, width, height) if height == nil then height = doc.FORMSPEC.ENTRY_HEIGHT end - local baselength = 80 + local baselength = 77 local widget_basewidth = doc.FORMSPEC.WIDTH local linelength = math.max(20, math.floor(baselength * (width / widget_basewidth))) |