Sha256: 30b94600f754a23643148f50d65c22c0d7b0feed66eb8d91a9f007ad5c7bf1e8
Contents?: true
Size: 817 Bytes
Versions: 12
Compression:
Stored size: 817 Bytes
Contents
# encoding: ascii-8bit # Copyright 2014 Ball Aerospace & Technologies Corp. # All Rights Reserved. # # This program is free software; you can modify and/or redistribute it # under the terms of the GNU General Public License # as published by the Free Software Foundation; version 3 with # attribution addendums as found in the LICENSE.txt require 'cosmos/tools/tlm_viewer/widgets/widget' require 'cosmos/tools/tlm_viewer/widgets/layout_widget' module Cosmos # Layout widget which layouts the enclosed widgets horizontally. # Default spacing is 0 pixels. class HorizontalWidget < Qt::HBoxLayout include Widget include LayoutWidget def initialize(parent_layout = nil, spacing = 0) super() setSpacing(spacing.to_i) parent_layout.addLayout(self) if parent_layout end end end
Version data entries
12 entries across 12 versions & 1 rubygems