[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #48446] uicontrols extent is incorrect
From: |
Andreas Weber |
Subject: |
[Octave-bug-tracker] [bug #48446] uicontrols extent is incorrect |
Date: |
Sat, 9 Jul 2016 13:01:47 +0000 (UTC) |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Firefox/38.0 Iceweasel/38.8.0 |
Follow-up Comment #5, bug #48446 (project octave):
@Pantxo: Okay, but then the extent property of a uicontrol should IMHO return
the value calculated by the used graphics_toolkit, in case of Qt
width = label.fontMetrics().boundingRect(label.text()).width()
And not create a text_renderer to calculate it as it's done in
uicontrol::properties::update_text_extent or am I wrong?
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?48446>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/