Title: [266744] trunk/Tools
Revision
266744
Author
[email protected]
Date
2020-09-08 12:49:27 -0700 (Tue, 08 Sep 2020)

Log Message

[Win] MiniBrowser URL bar can't insert a longer text than the window width
https://bugs.webkit.org/show_bug.cgi?id=216252

Reviewed by Per Arne Vollan.

* MiniBrowser/win/MainWindow.cpp:
(MainWindow::createToolbar): Set ES_AUTOHSCROLL and for the URL
bar edit control. Removed ES_AUTOVSCROLL for it since it doesn't
scroll vertically.

Modified Paths

Diff

Modified: trunk/Tools/ChangeLog (266743 => 266744)


--- trunk/Tools/ChangeLog	2020-09-08 19:47:05 UTC (rev 266743)
+++ trunk/Tools/ChangeLog	2020-09-08 19:49:27 UTC (rev 266744)
@@ -1,3 +1,15 @@
+2020-09-08  Fujii Hironori  <[email protected]>
+
+        [Win] MiniBrowser URL bar can't insert a longer text than the window width
+        https://bugs.webkit.org/show_bug.cgi?id=216252
+
+        Reviewed by Per Arne Vollan.
+
+        * MiniBrowser/win/MainWindow.cpp:
+        (MainWindow::createToolbar): Set ES_AUTOHSCROLL and for the URL
+        bar edit control. Removed ES_AUTOVSCROLL for it since it doesn't
+        scroll vertically.
+
 2020-09-08  Tim Horton  <[email protected]>
 
         iOS: <attachment>'s QuickLook thumbnails can appear squished

Modified: trunk/Tools/MiniBrowser/win/MainWindow.cpp (266743 => 266744)


--- trunk/Tools/MiniBrowser/win/MainWindow.cpp	2020-09-08 19:47:05 UTC (rev 266743)
+++ trunk/Tools/MiniBrowser/win/MainWindow.cpp	2020-09-08 19:49:27 UTC (rev 266744)
@@ -152,7 +152,7 @@
     SendMessage(m_hToolbarWnd, TB_ADDBUTTONS, _countof(tbButtons), reinterpret_cast<LPARAM>(&tbButtons));
     ShowWindow(m_hToolbarWnd, true);
 
-    m_hURLBarWnd = CreateWindow(L"EDIT", 0, WS_CHILD | WS_VISIBLE | WS_BORDER | ES_LEFT | ES_AUTOVSCROLL, 0, 0, 0, 0, m_hToolbarWnd, 0, hInstance, 0);
+    m_hURLBarWnd = CreateWindow(L"EDIT", 0, WS_CHILD | WS_VISIBLE | WS_BORDER | ES_LEFT | ES_AUTOHSCROLL, 0, 0, 0, 0, m_hToolbarWnd, 0, hInstance, 0);
     m_hProgressIndicator = CreateWindow(L"STATIC", 0, WS_CHILD | WS_VISIBLE | SS_CENTER | SS_CENTERIMAGE, 0, 0, 0, 0, m_hToolbarWnd, 0, hInstance, 0);
 
     DefEditProc = reinterpret_cast<WNDPROC>(GetWindowLongPtr(m_hURLBarWnd, GWLP_WNDPROC));
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to