Skip to content

Commit 40009bf

Browse files
committed
[desktop_webview_window] fix linux title bar width
1 parent 7b3235f commit 40009bf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/desktop_webview_window/linux/webview_window.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ WebviewWindow::WebviewWindow(
9292
fl_plugin_registry_get_registrar_for_plugin(FL_PLUGIN_REGISTRY(title_bar), "DesktopWebviewWindowPlugin");
9393
client_message_channel_plugin_register_with_registrar(desktop_webview_window_registrar);
9494

95-
gtk_widget_set_size_request(GTK_WIDGET(title_bar), 200, title_bar_height);
95+
gtk_widget_set_size_request(GTK_WIDGET(title_bar), -1, title_bar_height);
9696
gtk_widget_set_vexpand(GTK_WIDGET(title_bar), FALSE);
9797
gtk_box_pack_start(box_, GTK_WIDGET(title_bar), FALSE, FALSE, 0);
9898

0 commit comments

Comments
 (0)