mirror of
https://gitlab.com/sheaf/metabrush.git
synced 2024-11-05 06:43:37 +00:00
align visibility/locked buttons to end
This commit is contained in:
parent
237fb4a7d7
commit
74a8ad3f80
|
@ -349,12 +349,15 @@ newLayerViewWidget = do
|
|||
|
||||
itemLabel <- editableLabelNew " "
|
||||
GTK.boxAppend contentBox itemLabel
|
||||
GTK.widgetSetHalign itemLabel GTK.AlignStart
|
||||
GTK.widgetSetHexpand itemLabel True
|
||||
|
||||
visibleButton <- GTK.buttonNew
|
||||
lockedButton <- GTK.buttonNew
|
||||
GTK.boxAppend contentBox visibleButton
|
||||
GTK.boxAppend contentBox lockedButton
|
||||
|
||||
GTK.widgetSetHalign visibleButton GTK.AlignEnd
|
||||
GTK.widgetSetHalign lockedButton GTK.AlignEnd
|
||||
|
||||
widgetAddClass visibleButton "strokeButton"
|
||||
widgetAddClass lockedButton "strokeButton"
|
||||
|
|
Loading…
Reference in a new issue