mirror of
https://codeberg.org/scip/golsky.git
synced 2025-12-18 04:51:05 +01:00
lots changes:
- renamed scene files - fixed options back using scene.Prev - fixed initial zooming (finally) - fixed reset zoom (key r) - fixed initial size, now works with state loading as well
This commit is contained in:
@@ -64,12 +64,12 @@ func NewCheckbox(
|
||||
)
|
||||
}
|
||||
|
||||
func NewSeparator() widget.PreferredSizeLocateableWidget {
|
||||
func NewSeparator(padding int) widget.PreferredSizeLocateableWidget {
|
||||
c := widget.NewContainer(
|
||||
widget.ContainerOpts.Layout(widget.NewRowLayout(
|
||||
widget.RowLayoutOpts.Direction(widget.DirectionVertical),
|
||||
widget.RowLayoutOpts.Padding(widget.Insets{
|
||||
Top: 3,
|
||||
Top: padding,
|
||||
Bottom: 0,
|
||||
}))),
|
||||
widget.ContainerOpts.WidgetOpts(
|
||||
|
||||
Reference in New Issue
Block a user