flet icon indicating copy to clipboard operation
flet copied to clipboard

Vertical Divider not showing

Open nascin opened this issue 3 years ago • 0 comments

Vertical Divider is not showing when I call inside a Container > Row > Container > Row.

Code example to reproduce the issue:

import flet
from flet import Container, Page, Row, VerticalDivider, Text, colors, padding

def main(page: Page):

    page.add(
        Container(
            content=Row(
                controls=[
                    Container(
                        content=Row(
                            controls=[
                                VerticalDivider(width=9, thickness=3, color='white'),
                                Text(value='Total Balance', color=colors.WHITE, size=23, weight='bold', width=280),
                                Text(value='$ 0,00', color=colors.WHITE, size=18),
                            ],
                            wrap=True,
                        ),
                    ),
                ],
                wrap=True,
            ),
            padding=padding.all(10),
            width=280,
            border_radius=10,
            bgcolor='#2c2c2c',
        )
    )

flet.app(target=main, view=flet.WEB_BROWSER)

Results received:

image

Flet version:

Name: flet
Version: 0.1.62
Summary: Flet for Python - easily build interactive multi-platform apps in Python
Home-page:
Author:
Author-email: Appveyor Systems Inc. <[email protected]>
License: MIT
Location: c:\users\mails\desktop\flet\vertical-divider\env\lib\site-packages
Requires: beartype, oauthlib, repath, requests, watchdog, websocket-client
Required-by:

Operating system:

Windows

nascin avatar Oct 12 '22 21:10 nascin