tooltip: Allow the border to be configured.
Given the tooltip border is "client side" instead of X11 to allow anti-aliasing to work when a shape is used, it doesn't use the wibox border.
This commit is contained in:
parent
2b52926b48
commit
52f62b712c
|
@ -391,6 +391,16 @@ function tooltip:set_margins(val)
|
|||
self.marginbox:set_margins(val)
|
||||
end
|
||||
|
||||
|
||||
function tooltip:set_border_width(val)
|
||||
self.widget.shape_border_width = val
|
||||
end
|
||||
|
||||
|
||||
function tooltip:set_border_color(val)
|
||||
self.widget.shape_border_color = val
|
||||
end
|
||||
|
||||
--- Set the margins around the left and right of the tooltip textbox
|
||||
--
|
||||
-- @property margins_leftright
|
||||
|
|
Loading…
Reference in New Issue