adjust spacing for multihyperlink
This commit is contained in:
@@ -107,7 +107,7 @@ func (c *MultiHyperlink) layoutObjects() {
|
|||||||
obj = c.content.Objects[2*i-1]
|
obj = c.content.Objects[2*i-1]
|
||||||
ms := obj.MinSize()
|
ms := obj.MinSize()
|
||||||
obj.Resize(ms)
|
obj.Resize(ms)
|
||||||
obj.Move(fyne.NewPos(x-ms.Width+c.getSeparatorWidth()+1, 0)) // this is really ugly
|
obj.Move(fyne.NewPos(x-ms.Width+c.getSeparatorWidth()+4, 0)) // this is really ugly
|
||||||
x -= theme.Padding() * 2
|
x -= theme.Padding() * 2
|
||||||
}
|
}
|
||||||
// move and resize text object
|
// move and resize text object
|
||||||
|
|||||||
Reference in New Issue
Block a user