C1FlexGrid treestyle "ButtonBar": meaning of symbols

Posted by: wknauf on 1 October 2020, 10:47 am EST

  • Posted 1 October 2020, 10:47 am EST - Updated 3 October 2022, 11:37 pm EST

    Hi C1,

    the C1FlexGrid setting “Tree.Style = TreeStyleFlags.ButtonBar” creates a strange looking header: a small bright blue vertical line, and something that looks like a crushed fly…

    Do you have an idea what the latter symbol means ;-)? The light blue line means probably “show only toplevel nodes”, but it is barely visible.

    Here is a sample screenshot - you have to zoom a lot.



    Note that our grids use the system font “Segoe UI” and thus are a bit scaled, because of AutoScaleMode = Font. But with default font Microsoft Sans Serif, it does not look much better :wink:

    I suggest to think about better symbols, and maybe a tooltip.

    Best regards

    Wolfgang

  • Posted 2 October 2020, 8:14 am EST - Updated 3 October 2022, 11:37 pm EST

    I applied this setting to another C1FlexGrid (actually, we use grouping with “Tree.Style = CompleteLeaf”), and here the symbols look great (“1” and “*”):

    I don’t find a reason why the other flexgrid looks broken :-(.

    But if you don’t have an explanation, you might close this issue. In the grid where the buttons are broken, we don’t need the “ButtonBar” and those have switched to “SimpleLeaf”. I had just posted it here, because I thought it would be a general issue.

    Best regards

    Wolfgang

  • Posted 2 October 2020, 8:36 am EST - Updated 13 August 2025, 11:10 am EST

    At least I have an idea why there is a blue line in the broken sample: the “1” has a light blue shadow to the right, and it seems that the numer is moved a bit to the left, so that only this shadow is rendered. And the star is moved to the right.

    Here is a screenshot of those two zoomed images, where you can see this:

  • Posted 6 October 2020, 2:12 am EST

    Hi,

    It seems like a bug. The text gets incorrectly rendered when the font size is bigger, we have reported this to the developers and will let you know once we get any update on this.

    [Internal Tracking ID: 466702]

    Regards,

    Prabhat Sharma.

Need extra support?

Upgrade your support plan and get personal unlimited phone support with our customer engagement team

Learn More

Forum Channels