mirror of
				https://github.com/rad4day/Waybar.git
				synced 2025-11-03 17:22:43 +01:00 
			
		
		
		
	fix: label default style
This commit is contained in:
		@@ -21,7 +21,7 @@ AButton::AButton(const Json::Value& config, const std::string& name, const std::
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
  /* https://github.com/Alexays/Waybar/issues/1731 */
 | 
					  /* https://github.com/Alexays/Waybar/issues/1731 */
 | 
				
			||||||
  auto css = Gtk::CssProvider::create();
 | 
					  auto css = Gtk::CssProvider::create();
 | 
				
			||||||
  css->load_from_data("button { all: unset; min-width: 0; }");
 | 
					  css->load_from_data("button { all: unset; min-width: 0; } label { all: unset; }");
 | 
				
			||||||
  button_.get_style_context()->add_provider(css, GTK_STYLE_PROVIDER_PRIORITY_APPLICATION);
 | 
					  button_.get_style_context()->add_provider(css, GTK_STYLE_PROVIDER_PRIORITY_APPLICATION);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  if (!id.empty()) {
 | 
					  if (!id.empty()) {
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user