View Issue Details

IDProjectCategoryView StatusLast Update
0001684NoesisGUIC++ SDKpublic2026-04-27 12:17
ReporterJoren Assigned Tosfernandez  
PrioritynormalSeverityfeature 
Status feedbackResolutionopen 
Product Version3.0 
Target Version3.2.14 
Summary0001684: Support for BaseAlignment for Inline elements
Description

As described in this thread. https://www.noesisengine.com/forums/viewtopic.php?f=3&t=1973#p11071

Support for BaseAlignment for inline elements.

Attached Files
PlatformAny

Activities

nikobarli

nikobarli

2021-11-25 09:35

reporter   ~0007613

I think we also need this to support superscript/subscript text on TextBlock.
If there is workaround, please let us know.

sfernandez

sfernandez

2021-11-25 11:12

manager   ~0007614

As a workaround you can use a InlineUIContainer containing a TextBlock with the appropriate size and margin:

  <TextBlock FontSize="20" HorizontalAlignment="Center" VerticalAlignment="Center">
<Run Text="Text with"/>
<InlineUIContainer><TextBlock FontSize="12" Text="superscript" Margin="0,-12,0,0"/></InlineUIContainer>
<Run Text="and"/>
<InlineUIContainer><TextBlock FontSize="12" Text="subscript" Margin="0,4,0,0"/></InlineUIContainer>
</TextBlock>

nikobarli

nikobarli

2021-11-25 12:13

reporter   ~0007615

Tried the workaround here. Seems to work for superscript but not the subscript. And somehow I need to add top margin of -20 to make the superscript looks nice.
Please see the attachment.

Capture.PNG (96,186 bytes)   
Capture.PNG (96,186 bytes)   
sfernandez

sfernandez

2021-11-25 12:21

manager   ~0007616

Please try using a negative bottom margin for the subscript:

<TextBlock FontSize="12" Text="subscript" Margin="0,0,0,-10"/>

I have to check why our InlineUIContainers are not behaving like WPF regarding to the margins.

nikobarli

nikobarli

2021-11-25 12:34

reporter   ~0007618

Thanks. Negative bottom margin seems to work.

Capture-2.PNG (54,763 bytes)   
Capture-2.PNG (54,763 bytes)   
lachfoy

lachfoy

2024-05-31 08:03

reporter   ~0009603

Would also be very keen on this feature for showing icons and tooltips in our localized text.

FrancoisRecisio

FrancoisRecisio

2024-08-22 11:38

reporter   ~0009900

I'm also interested in this feature. The negative margin works well but finding the perfect value is not easy and depends on the font size.

Issue History

Date Modified Username Field Change
2020-05-12 11:37 Joren New Issue
2020-05-12 11:37 Joren Tag Attached: C++
2020-05-25 11:28 jsantos Product Version 2.2.6 => 3.0
2020-05-25 11:28 jsantos Assigned To => sfernandez
2020-05-25 11:28 jsantos Status new => assigned
2021-11-25 09:35 nikobarli Note Added: 0007613
2021-11-25 11:12 sfernandez Status assigned => feedback
2021-11-25 11:12 sfernandez Note Added: 0007614
2021-11-25 12:13 nikobarli File Added: Capture.PNG
2021-11-25 12:13 nikobarli Note Added: 0007615
2021-11-25 12:21 sfernandez Note Added: 0007616
2021-11-25 12:34 nikobarli File Added: Capture-2.PNG
2021-11-25 12:34 nikobarli Note Added: 0007618
2021-11-25 14:25 jsantos Target Version => 3.1
2024-05-31 08:03 lachfoy Note Added: 0009603
2024-08-22 11:38 FrancoisRecisio Note Added: 0009900
2024-08-22 11:46 jsantos Target Version 3.1 => 3.2.5
2024-10-24 16:43 sfernandez Target Version 3.2.5 => 3.2.6
2024-11-22 18:19 jsantos Target Version 3.2.6 => 3.2.7
2025-01-20 17:42 jsantos Target Version 3.2.7 => 3.2.8
2025-06-06 12:52 jsantos Target Version 3.2.8 => 3.2.9
2025-10-02 00:48 jsantos Target Version 3.2.9 => 3.2.10
2025-10-20 18:25 jsantos Target Version 3.2.10 => 3.2.11
2026-01-20 19:32 jsantos Target Version 3.2.11 => 3.2.12
2026-03-04 00:39 jsantos Target Version 3.2.12 => 3.2.13
2026-04-27 12:17 jsantos Target Version 3.2.13 => 3.2.14