Sha256: 44ff46b58b55bd6918e918d06dd3963709ca73bb40bf4377eb8130ed110986cd

Contents?: true

Size: 731 Bytes

Versions: 1

Compression:

Stored size: 731 Bytes

Contents

module Glimmer
  class Gladiator
    class ProgressShell
      include Glimmer::UI::CustomShell
  
      option :gladiator
      option :progress_text, default: 'Work In Progress'
  
      body {
        shell(gladiator.body_root, :title) {
          fill_layout(:vertical) {
            margin_width 15
            margin_height 15
            spacing 5
          }
          
          text 'Gladiator'
          
          gladiator_menu_bar(gladiator: gladiator, editing: true)
          
          label(:center) {
            text progress_text
            font height: 20
          }
#           @progress_bar = progress_bar(:horizontal, :indeterminate)
        }
      }
  
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
glimmer-cs-gladiator-0.8.1 lib/views/glimmer/gladiator/progress_shell.rb