June 2015
Intermediate to advanced
206 pages
4h 32m
English
In this section, we will redecorate our interface to improve the look and feel of it. With very few strategic changes, we will completely renovate the way our application looks with a few steps. Let's start changing the background color from black to white. We will do this in the comicreator.py file, and here is its new header:
326. # File name: comiccreator.py
327. import kivy
328. from kivy.app import App
329. from kivy.lang import Builder
330. from kivy.uix.screenmanager import ScreenManager
331. from kivy.core.window import Window
332.
333. Window.clearcolor = (1, 1, 1, 1)
334.
335. Builder.load_file('style.kv')We imported the Window class that manages the configurations of the application window, and controls ...
Read now
Unlock full access