Quantcast
Channel: GoJS - Northwoods Software
Viewing all articles
Browse latest Browse all 7069

Node TextBlock alignment issue when an icon becomes visible

$
0
0

@jcaruso wrote:

Within my node template I’ve created a horizontal panel containing 2 TextBlocks, with simple text, and a Button. The Button contains a Shape which is an icon and becomes visible when I mouse over the node. Both textblocks are left aligned, margin=1. When the button is not visible, I’m expecting both TextBlocks to appear on the left side of the node, close to the border. Unfortunately, there is too much space between the node edge and the first TextBlock (margin=1). When I mouse over the node the icon appears and now the first TextBlock is close to the border as expected. I do not want the text to move when the button icon becomes visible.

Posts: 6

Participants: 2

Read full topic


Viewing all articles
Browse latest Browse all 7069

Trending Articles