HTML:
<div id='container'>
<p>This is some text contained within a small-ish box. I'm using it as an example of how placing your floated elements in different orders in your HTML can affect your layouts. For example, take a look at this great photo placeholder that should
我有一个UIViewController (而不是a UITableViewController,因为我读到视图控制器对这种行为最好)和UITableView。在这个视图控制器中,我想添加一个浮动的UIView,并将它放在我的表视图之上,这样我就这样写了:
public override func viewDidLoad() {
super.viewDidLoad()
// add button
let fbv = liquidActionButtonInstance.addActionButton() // this is a UIView
self
我查看了文档,知道如何将我的Box布局放在我的kivy窗口中
但我想将我的BoxLayout放在另一个(具有透明背景)上,如下所示:
我的代码(没有我的五个透明的红色框)
from kivy.app import App
from kivy.uix.boxlayout import BoxLayout
from kivy.uix.button import Button
# Boxlayout is the App class
class BoxLayoutDemo(App):
def build(self):
superBox