From: Chris Morris Date: 2003-02-25T11:18:53+09:00 Subject: FXRuby FXText width? I have the following (1.0.20) code. All FXTextFields are set to a default width, regardless of what I pass the constructor or set afterwards. What am I doing wrong? class DBLogin < FXMainWindow include Responder attr_accessor :dblogin def initialize(app) @app = app super(@app, "Login", nil, nil, DECOR_ALL, 0, 0, 400) FXLabel.new(self, 'Server') @server = FXTextField.new(self, 1, nil, 0, TEXTFIELD_NORMAL, 0, 0, 500) FXLabel.new(self, 'Database') @database = FXTextField.new(self, 1) FXLabel.new(self, 'User') @username = FXTextField.new(self, 1) FXLabel.new(self, 'Password') @password = FXTextField.new(self, 1) ...