octave-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #58186] Vertical scrollbar with an inactive Ed


From: Guillaume
Subject: [Octave-bug-tracker] [bug #58186] Vertical scrollbar with an inactive Edit uicontrol
Date: Wed, 15 Apr 2020 10:10:53 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Firefox/68.0

URL:
  <https://savannah.gnu.org/bugs/?58186>

                 Summary: Vertical scrollbar with an inactive Edit uicontrol
                 Project: GNU Octave
            Submitted by: gyom
            Submitted on: Wed 15 Apr 2020 02:10:51 PM UTC
                Category: Plotting
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: Matlab Compatibility
                  Status: None
             Assigned to: None
         Originator Name: Guillaume
        Originator Email: 
             Open/Closed: Open
                 Release: dev
         Discussion Lock: Any
        Operating System: GNU/Linux

    _______________________________________________________

Details:

When an Edit uicontrol is set to 'inactive', the vertical scrollbar is
disabled in Octave while it still works in Matlab. See attached screenshot
obtained with the following code:


figure;
opts = {'on', 'off', 'inactive'};
for i=1:numel(opts)
  str = repmat ([opts{i} ' '], 1, 100);
  uicontrol (...
    "Style","edit", ...
    "Units",'normalized', ...
    "Position",[0.25 i/4 0.5 0.2], ...
    "Max",2, ...
    "String", str, ...
    "Enable",opts{i});
endfor


One also notices that the text if middle centred in Matlab while left centred
in Octave. The graying of the edit control when Enable is 'off' is discussed
in bug #57128.



    _______________________________________________________

File Attachments:


-------------------------------------------------------
Date: Wed 15 Apr 2020 02:10:51 PM UTC  Name: uicontrol.png  Size: 43KiB   By:
gyom

<http://savannah.gnu.org/bugs/download.php?file_id=48843>

    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?58186>

_______________________________________________
  Message sent via Savannah
  https://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]