Skip to content

Commit 431b995

Browse files
authored
Fix Kivy example on Windows (cztomczak#613).
1 parent d2c7252 commit 431b995

1 file changed

Lines changed: 3 additions & 5 deletions

File tree

src/linux/binaries_64bit/kivy_.py

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
1-
# An example of embedding CEF browser in the Kivy framework.
2-
# The browser is embedded using off-screen rendering mode.
3-
4-
# Tested using Kivy 1.7.2 stable, only on Linux.
1+
# An example of embedding CEF browser with the Kivy framework
2+
# by using off-screen rendering mode.
53

64
# In this example kivy-lang is used to declare the layout which
75
# contains two buttons (back, forward) and the browser view.
@@ -44,7 +42,7 @@ def __init__(self, **kwargs):
4442
super(BrowserLayout, self).__init__(**kwargs)
4543
self.orientation = "vertical"
4644

47-
self.browser_widget = CefBrowser(id="browser")
45+
self.browser_widget = CefBrowser()
4846

4947
layout = BoxLayout()
5048
layout.size_hint_y = None

0 commit comments

Comments
 (0)