mirror of
https://gitlab.com/sheaf/metabrush.git
synced 2024-11-27 09:24:08 +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 " "
|
itemLabel <- editableLabelNew " "
|
||||||
GTK.boxAppend contentBox itemLabel
|
GTK.boxAppend contentBox itemLabel
|
||||||
|
GTK.widgetSetHalign itemLabel GTK.AlignStart
|
||||||
|
GTK.widgetSetHexpand itemLabel True
|
||||||
|
|
||||||
visibleButton <- GTK.buttonNew
|
visibleButton <- GTK.buttonNew
|
||||||
lockedButton <- GTK.buttonNew
|
lockedButton <- GTK.buttonNew
|
||||||
GTK.boxAppend contentBox visibleButton
|
GTK.boxAppend contentBox visibleButton
|
||||||
GTK.boxAppend contentBox lockedButton
|
GTK.boxAppend contentBox lockedButton
|
||||||
|
GTK.widgetSetHalign visibleButton GTK.AlignEnd
|
||||||
|
GTK.widgetSetHalign lockedButton GTK.AlignEnd
|
||||||
|
|
||||||
widgetAddClass visibleButton "strokeButton"
|
widgetAddClass visibleButton "strokeButton"
|
||||||
widgetAddClass lockedButton "strokeButton"
|
widgetAddClass lockedButton "strokeButton"
|
||||||
|
|
Loading…
Reference in a new issue