Skip to content
Discussion options

You must be logged in to vote

The DataTable is actually in the center/middle of the Vertical it's inside of and is following what you specified in CSS. If you're ever unsure about what's going on, a good chec is to place a border around the control in question. So, if you place a border around the DataTable in your example, you'll see:

In other words: it's the full width and height of the Vertical it's inside of. If you want it to visually appear more balanced you could do things like go with a border, specify a more appropriate width for it, perhaps set its background colour to raise it from the app's background, that sort of thing. For example, with this added to the CSS of your example:

    DataTable {
        bac…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@willmcgugan
Comment options

Answer selected by darrenburns
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants
Converted from issue

This discussion was converted from issue #1819 on February 17, 2023 09:03.