| Server IP : 3.7.136.76 / Your IP : 216.73.216.142 Web Server : Apache/2.4.58 (Ubuntu) System : Linux ip-172-31-39-148 7.0.0-1010-aws #10~24.04.1-Ubuntu SMP PREEMPT Mon Jul 27 17:41:33 UTC 2026 x86_64 User : ubuntu ( 1000) PHP Version : 8.3.6 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : OFF Directory : /snap/core22/2955/usr/share/subiquity/subiquitycore/ui/__pycache__/ |
Upload File : |
o
K��^� � @ s0 d dl Z e je je jfZe je jfZdd� ZdS )� Nc C s6 t | tj�rt| dd�rt| j�S t| d�r| �� S t | t�r$t| j �S t | t
�r.t| j�S t | tj�rN| jtj
krE| j| j t| j� S t | jt�rN| jS t | tj�rYt| j�S t | tj�r�t| j�dkrhdS d}| jD ]\}}|d tjkr||d 7 }qm|t|�7 }qm|t| j�d | j 7 }|S td| ����)z)Return the natural width of the widget w.�has_original_widthF�get_natural_widthr � z don't know how to find width of )�
isinstance�urwid�WidgetDecoration�getattr�widget_width�original_widget�hasattrr �size_neutral_widget_wraps�_wrapped_widget�size_neutral_decorations�Padding�width�RELATIVE_100�left�right�int�Text�len�text�Columns�contents�GIVEN�dividechars� Exception)�w�r�w1�o� r! �./usr/share/subiquity/subiquitycore/ui/width.pyr s8
�
r ) r �AttrMap�
PopUpLauncher�
WidgetDisabler �Button�CheckBoxr r r! r! r! r"