All Images FULL Screen?

Discuss all problems you have with Servoy here. It might help to mention the Servoy version and Operating System version you are using

All Images FULL Screen?

Postby john1598360627 » Fri Aug 05, 2022 11:42 pm

Code: Select all
Servoy Version; Version: 2022.6.0.3782



After updating, for whatever reason all images are full screen now.

(image after update)
fullscreenimage.png
fullscreenimage.png (18.68 KiB) Viewed 2845 times



Keep in mind, the images I'm displaying are 24x24 pixel length, so previously they were tiny.

(image before update)
originalimage.png
originalimage.png (549 Bytes) Viewed 2845 times


Any way of setting the image size so I can manually set it back to the normal small size? Though, I'm not sure why it's defaulting to such a massive size either.
john1598360627
 
Posts: 169
Joined: Tue Aug 25, 2020 3:03 pm

Re: All Images FULL Screen?

Postby ProRM » Tue Aug 09, 2022 3:02 pm

Hi John,

What properties do you have for that image in cssPosition and styleClass?

Regards,
User avatar
ProRM
 
Posts: 107
Joined: Thu Sep 18, 2008 10:24 pm
Location: Uruguay

Re: All Images FULL Screen?

Postby john1598360627 » Wed Aug 10, 2022 12:14 am

ProRM wrote:Hi John,

What properties do you have for that image in cssPosition and styleClass?

Regards,


CSSPOSITION
Well, since I'm using the Advanced Bootstrap it's in a Column so the cssPosition is automatic.

image-bootstrap.png
image-bootstrap.png (13.83 KiB) Viewed 2774 times


STYLECLASS
No style class is attached to the image.

image-properties.png
image-properties.png (50.11 KiB) Viewed 2774 times


There is a styleClass attached to the column it's in however. But that just changes the background color for the column.
Code: Select all
.notification-info{
   #colors;
   
   color: #FFF;
   #status;
   
   background-color: @status-blue;
   
   padding-top: 9px;
   
   padding-bottom: 9px;
   
}
john1598360627
 
Posts: 169
Joined: Tue Aug 25, 2020 3:03 pm

Re: All Images FULL Screen?

Postby ProRM » Wed Aug 10, 2022 8:58 pm

Hi John,

I see the same behaviour building a responsive form with 2022.06. I think you should open a ticket in Support.

You have the column as 12 (col-md-12) and that causes the image to take all the space. If you change it to col-md-1 it will resize.

Regards,
User avatar
ProRM
 
Posts: 107
Joined: Thu Sep 18, 2008 10:24 pm
Location: Uruguay

Re: All Images FULL Screen?

Postby john1598360627 » Wed Aug 10, 2022 11:18 pm

ProRM wrote:Hi John,

I see the same behaviour building a responsive form with 2022.06. I think you should open a ticket in Support.

You have the column as 12 (col-md-12) and that causes the image to take all the space. If you change it to col-md-1 it will resize.

Regards,


Alrighty, I'll get a support ticket going!

You have the column as 12 (col-md-12) and that causes the image to take all the space. If you change it to col-md-1 it will resize.


Exactly, that isn't the behavior of how it worked before.

I would have the Image in that 12-col, alongside text next to it. The Image is 24x24 so it would display as such, and the text would right next to it.

originalbootstrap.png
originalbootstrap.png (5.65 KiB) Viewed 2734 times


Now the 24x24px image gets autosized to take up the full Col-12 in the current version. I didn't change anything my own format, something updated with how Servoy interprets Bootstrap (or Bootstrap itself?) which is causing this.

I'll have to use putting them in a Col-1 as a hotfix for now, but 1 doesn't fix the problem. AutoSizing is the issue here. If I could just disable the autosizing so the image can appear as it's normal size, as it was before, that would be great.
Of course Autosizing will definitely have it's usefulness in other areas, so I just mean giving an option to disable it when desired.


EDIT:

Sadly, as a suspected, Col-1 didn't fix much. The image still isn't displaying as 24x24px as it originally is, and still is abnormally big (thanks to the autosizing).

col1.png
col1.png (8.38 KiB) Viewed 2730 times
john1598360627
 
Posts: 169
Joined: Tue Aug 25, 2020 3:03 pm

Re: All Images FULL Screen?

Postby kwpsd » Sat Aug 13, 2022 12:06 am

Created Support Ticket: SVY-17349
Kim W. Premuda
San Diego, CA USA
User avatar
kwpsd
 
Posts: 687
Joined: Sat Jul 28, 2007 6:59 pm
Location: San Diego, CA USA

Re: All Images FULL Screen?

Postby john1598360627 » Fri Oct 07, 2022 1:57 am

I updated to 2022.9.0.3803, and now images are relatively back to normaly size, thank you!

For some reason, they still take up 'ghost space', and need to be placed into a 1-column.


Although, I want to mention something. I know I'm okay with the images displaying their normal size, however I don't want my specific preference dictate all design choices. There should still be an option to enable autosizing right?


https://www.w3schools.com/css/css3_images.asp

I tried to see if I could set auto-sizing for the images and it didn't seem to change anything. I just wanted to point this out for future reference, just in case there's someone out there that'll want this. Options are always good of course.


I do believe that autosizing still works for labels though.
john1598360627
 
Posts: 169
Joined: Tue Aug 25, 2020 3:03 pm


Return to Discuss possible Issues and Bugs

Who is online

Users browsing this forum: No registered users and 6 guests