Sha256: 7f44524cf298a59f25d79ba372bc219d1ae53974111ce22ee81eccf6229eb8df
Contents?: true
Size: 775 Bytes
Versions: 6
Compression:
Stored size: 775 Bytes
Contents
# frozen_string_literal: true class Scarpe class GlimmerLibUIStack < Scarpe::GlimmerLibUIWidget include Scarpe::GlimmerLibUIBackground include Scarpe::GlimmerLibUIBorder include Scarpe::GlimmerLibUISpacing def initialize(properties) super end def display(properties = {}) <<~GTEXT vertical_box { #{@children.map(&:display).join} }.show GTEXT end # Marker from webview # def style # styles = super # styles[:display] = "flex" # styles["flex-direction"] = "column" # styles[:width] = Dimensions.length(@width) if @width # styles[:height] = Dimensions.length(@height) if @height # styles["overflow"] = "auto" if @scroll # styles # end end end
Version data entries
6 entries across 6 versions & 2 rubygems