mirror of
				https://github.com/rad4day/Waybar.git
				synced 2025-10-31 07:52:42 +01:00 
			
		
		
		
	Added tooltip-padding
This commit is contained in:
		| @@ -53,6 +53,7 @@ class UPower : public AModule { | ||||
|   bool        hideIfEmpty = true; | ||||
|   bool        tooltip_enabled = true; | ||||
|   uint        tooltip_spacing = 4; | ||||
|   uint        tooltip_padding = 4; | ||||
|   uint        iconSize = 20; | ||||
|   std::string format = DEFAULT_FORMAT; | ||||
|   std::string format_alt = DEFAULT_FORMAT_ALT; | ||||
|   | ||||
| @@ -18,9 +18,10 @@ class UPowerTooltip : public Gtk::Window { | ||||
|  | ||||
|   uint iconSize; | ||||
|   uint tooltipSpacing; | ||||
|   uint tooltipPadding; | ||||
|  | ||||
|  public: | ||||
|   UPowerTooltip(uint iconSize, uint tooltipSpacing); | ||||
|   UPowerTooltip(uint iconSize, uint tooltipSpacing, uint tooltipPadding); | ||||
|   ~UPowerTooltip(); | ||||
|  | ||||
|   uint updateTooltip(Devices& devices); | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Erik Reider
					Erik Reider