Scale9Grid and content alignment

I've just started using fb3 and while converting my fb2
project, I've come to notice that the scale9grid of the container's
skin now by default affects how the content is aligned. Although
otherwise changes to margin/padding attributes feel welcome, this
in particular makes me feel like going back to the dark ages of
html tables, where content can't overlap with the surrounding skin
parts and has to fit inside the stretching part of the skin.
Okay, pretty quickly I discovered that setting ClipContent to
false allows placing the content in relation to the container's
(and skin's) top-left corner but still, for instance, setting
content's width or height to 100% sets it's size to match the
scale9grid's inner rectangle instead of container's size.
It's still possible to hack through this by setting negative
padding values to counter the effect of the scale9 margins but it's
really a drag. Container's width and height still match the size of
the skin, not the stretching square of the scale9, so why can't the
content alignment and paddings default to this?

... still, setting clipContent = false is hardly a solution
if you want scrollable content... unless you add another
transparent container to clip the content and control scroll.
Here's a set of skins I've made for flex2..
http://www.elisanet.fi/~d635061/vistastyleskins/
Getting them right wasn't too hard although some components
still lacked ability to tweak paddings/borderThickness.. Now, I
wonder how far I can get with flex3 when it's trying to stretch the
skin each time around the content? If you look at the panel skins,
you'll notice that the skin has some graphic style behind the panel
content. The stretching gridsquare is below and to the right of
this, so the panel stretches alright, but it's obvious that I
wouldn't want the content to follow the scalegrid in any way. Only
thing the content should obey are the paddings (
'borderThicknesses' in flex2).

Similar Messages

  • Having problems when aligning footer div and content div close together, in the browsers they are wi

    My problem is when I paste text or paste anything in div tag. I have a container that contains everything. I have a content div that contains content. I also have a footer. When I align the footer at the end to content div which is in the container, it looks good until I look at it in a the different browsers, the content and footer are so wide apart. I've tried everything I could to make the browsers look as close as what I do in dreamweaver cs4. Is there a solution to this problem?
    This is the link to page working on.
    http://www.nlclv.org/truenewwebsite/html/doctrine.htm
    The footer and content div are align very close in dreamweaver but very far apart in the browsers.
    Also if you click on this link and click on calendar of events page you will see the samething.
    Thanks for your help.

    Absolutely positioned divisions are NOT a good primary layout method. Here's why:
    http://www.apptools.com/examples/pagelayout101.php
    You should use a CSS with default CSS positioning (which is no positioning at all).  And then use margins, padding and floats to align elements on the page.  Also, if you want the page height to flex to content (as it should), remove the height property from divisions containing text.
    Something like this:
    http://alt-web.com/TEMPLATES/2-col-fixed-flash-holder.html
    Nancy O.
    Alt-Web Design & Publishing
    Web | Graphics | Print | Media  Specialists
    http://alt-web.com/
    http://twitter.com/altweb
    http://alt-web.blogspot.com

  • Content Alignment in webdynpro iView based on user language

    Hi,
    We have a webdynpro application which has a search screen
    (Arabic as well as English), based on the user language setting in Portal UME, the respective language text with options are displayed.
    This webdynpro application runs on same WAS where Portal is running.
    When we test this application standalone like typing the URL of the webdynpro application, it shows english text with Left to right aligned content in browser for <b>user X with Language as EN</b>.
    When we test this application standalone like typing the URL of the webdynpro application, it shows arabic text with Right to Left aligned content in browser for <b>user Y with Language as Arabic</b>.It works fine when it is stand alone (when we directly run the webdynpro).
    <b>We created a WebDynpro iView in Portal, and we tested with user <i>Y (whose language is set to Arabic),</i> issue is text is properly displayed in Arabic, but the content alignment is left to right, which should be Right to Left</b>.
    Please let me know your solution/thought to the above mentioned issue/problem.
    Thanks
    Senthil

    Hi,
    The webdynpro application works fine (alignment and content is fine)when i access it directly.
    When i create a webdynpro iView and run it inside portal it is not working fine (alignment is LTR instead of RTL)
    I went through the SAP help <a href="http://help.sap.com/saphelp_nw04/helpdata/en/6e/8aae409567942ae10000000a155106/frameset.htm">RTL Alignment</a>and tried creating new themes and created a new desktop and assigned it to the user. It is still the same with LTR alignment.
    The issue is, why it is not working inside PRT, when it works fine inside WebDynpro Runtime.
    Thanks
    Senthil

  • Gap between header and content in IE

    Hello All
    I subscribed to a post with this basic same question but I
    never got a notification if it got answered or not
    I all of a sudden have a gap between the header and content
    on this site
    http://www.michaelsondesign.com/guestVision/
    - I am not sure why , it started when I added to the menu on the
    left
    Any ideas?
    Thanks
    Rob

    Add this to your CSS
    img {vertical-align:top;}
    You cannot lose until you give up !!!
    "BOC_RUSH" <[email protected]> wrote in
    message
    news:fsn546$nrm$[email protected]..
    > Hello All
    >
    > I subscribed to a post with this basic same question but
    I never got a
    > notification if it got answered or not
    >
    > I all of a sudden have a gap between the header and
    content on this site
    >
    http://www.michaelsondesign.com/guestVision/
    - I am not sure why , it
    > started
    > when I added to the menu on the left
    >
    > Any ideas?
    >
    > Thanks
    >
    > Rob
    >
    >

  • Frame content alignment

    Hi All,
    Does anyone know how to retrieve and set frame content alignment settings, not text alignment?
    Thank you in advance.

    Here is the solution:
    IMultiColumnTextFrame::GetVerticalJustification ();
    IMultiColumnTextFrame::SetVerticalJustification (Text::VerticalJustification vj)
    available values for Text::VerticalJustification are: kVJTop, kVJCenter, kVJBottom, kVJJustify, kVJInvalid, kVJNumValues

  • How to work JQuery and content editor webpart functionality in sharepoint 2013?

    Hi all,
    I have a requirement to display the list data in share-point page by using JQuery and content editor web-part. could you please any one suggest the process to display the list data using JQuery and ContentEditorWebpart.
    Thanks in advance.
    Thanks,
    phani kumar
    Phani kumar

    Hi,
    From your description, my understanding is that you want to show a list data in a page using jQuery and Content Query Web Part.
    You could use SharePoint REST API to accomplish your requirement, please refer to this code below:
    <div id="listData">
    </div>
    <script src="https://code.jquery.com/jquery-1.11.1.min.js" type="text/javascript"></script><script type="text/javascript">
    $(document).ready(function(){
    //replace your list title
    $.ajax({
    url: _spPageContextInfo.webAbsoluteUrl + "/_api/web/lists/getbytitle('customlist03')/items",
    type: "GET",
    headers: {"accept": "application/json;odata=verbose"},
    success: function (data) {
    if (data.d.results) {
    var obj = data.d.results;
    for(var i = 0; i < obj.length; i++)
    $("#listData").append("<div>title "+obj[i].Title+"</div>");
    error: function (xhr) {
    alert(xhr.status + ': ' + xhr.statusText);
    </script>​​
    The screenshot below is my result:
    Please refer to these articles:
    Working with lists and list items with REST
    https://msdn.microsoft.com/en-us/library/office/dn292552.aspx
    SharePoint 2013 – CRUD on List Items Using REST Services & jQuery
    http://www.plusconsulting.com/blog/2013/05/crud-on-list-items-using-rest-services-jquery/
    You can also get list data using JavaScript Client Object Model(JSOM), you could refer to this article:
    How to: Complete basic operations using JavaScript library code in SharePoint 2013
    https://msdn.microsoft.com/en-us/library/office/jj163201.aspx?f=255&MSPPError=-2147217396
    Here is a link about how to add code into page via Content Editor Web Part:
    http://blogs.msdn.com/b/sharepointdev/archive/2011/04/14/using-the-javascript-object-model-in-a-content-editor-web-part.aspx
    Best Regards,
    Vincent Han
    TechNet Community Support
    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact
    [email protected]

  • I can't erase all data and content from my iPhone 4s. It says iCloud account not verified, when it only asks for my Apple ID to erase all data and content.

    It's really been puzzling me, I've never logged in the Apple site on a laptop before - I have been getting the same message 'Unable to verify iCloud account' every time I try and erase all data and content from my iPhone 4s. When I go to iCloud on my laptop and sign in using my Apple ID it signs me in. These are the same log in details I am prompted for when trying to erase all data/content from the phone. If anybody could point me in the direction that would be really appreciated. Thanks

    Hi.
    Yes, I recently changed my Apple ID password - around 2 weeks ago when I bought the phone.
    Does anyone know if you need to do the IOS update to be able to restore all data and content? I have not installed the new update on either of my iPhone 4S's yet.
    The phone I am trying to reset was sold to me by a friend and when it was it had already been reset and it was on the language selection screen.

  • Error after updating field and content type

    Hi,
    I have a feature with a custom list and content type.
    I changed one field type from Text to Note, and made the same change in my Schema.xml file.
    But after deploying I get an error when I visit my list.
    "The file name you specified could not be used.  It may be the name of an
    existing file or directory, or you may not have permission to access
    the file".
    I have several sites with the same list, and all gives the same error.
    What I understand from the ULS logs it can't find my schema file, but when I look at the 14 hive it is there.
    ULS
    Failed to open the file 'schema.xml'.
    Failed to retrieve the list schema for feature {4D3315CB-7F20-4DB3-9CB3-258AC110F9BC}, list template 21973; expected to find it at: "".
    Any ideas about how to fix this?
    The text expected to find it at: "" can be the problem as I have my schema file in a folder named Correspondence List.
    And in the 14 hive I find the schema at 14\TEMPLATE\FEATURES\my feature\Correspondence List\Schema.xml
    This is from my manifest file:
    <ElementManifest Location="Correspondence\Elements.xml" />
    <ElementManifest Location="Correspondence List\Elements.xml" />
    <ElementFile Location="Correspondence List\Schema.xml" />
    Any help are appriciated

    Hi,
    Any update?
    Best Regards
    TechNet Community Support
    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact
    [email protected]

  • Ipod sync problems ipod 2.2.1 touch OS10.6.8 itunes 10.6.1 The photos sync but the calendars and contents will not.  I keep getting this error message... «iTunes could not sync information to the iPod «name of iPod» because a sync session could not be sta

    ipod sync problems
    ipod 2.2.1 touch OS10.6.8 itunes 10.6.1
    The photos sync but the calendars and contents will not.  I keep getting this error message...
    «iTunes could not sync information to the iPod «name of iPod» because a sync session could not be started.»

    Greetings,
    See this post: https://discussions.apple.com/message/12799057#12799057
    Cheers.

  • I have a new computer from my father that already has his iphone content on it.  what do i need to do to switch my phone over from my old computer to the new one and have the new computer sync MY contacts and content to the new computer without erasing

    i have a new computer from my father that already has his iphone content on it.  what do i need to do to switch my phone over from my old computer to the new one and have the new computer sync MY contacts and content to the new computer without erasing my contact lists and purchased apps?

    okay from reading posts it seems if I transfer my backed up info from my old comp to the new one and erase my dad's phone's back up i could reset my phone and it would transfer all my old data back onto the phone, be linked to the new computer and i could proceed.  Where do i find the backed up info from my phone?

  • Subnodes and content conversion in FTP-Adapter

    Hello experts,
    the scenaria is IDOC -> XI -> FTP and content conversion is used.
    The structure of the IDOC is like:
    <head></head>
    <pos>
          <subnode></subnode>
    </pos>
    <pos>
           <subnode></subnode>
    </pos>
    There can be 1 ore more positions.
    We mapped this to a XML-structure according to help.sap.com
    http://help.sap.com/saphelp_nw04/helpdata/en/d2/bab440c97f3716e10000000a155106/frameset.htm
    As we are not allowed to use subnodes all segments have to be on one level.
    How can I map to a structure (with 1 OR MORE positions) like
    <head></head>
    <pos></pos>
    <subnode></subnode>
    <pos></pos>
    <subnode></subnode>
    At the moment we are only able to map to:
    <head></head>
    <pos></pos>
    <pos></pos>
    <subnode></subnode>
    <subnode></subnode>
    In the datatype I can't specify that a position always is followed by a subnode ... i only can use remove context in mapping and put all subnodes beneath the positions. Is there any possibility in graphical mapping to change this?
    Thanks and regards,
    David

    Ok, what can I do, to describe a data typs with variable amount of pos' FOLLOWED by subnodes?
    Or is it possible to create an item line with pos and subnode and remove this line later (move everything to first level).
    <item>
        <pos>
        <subnode>
    </item>
    <item>
        <pos>
        <subnode>
    </item>
    <item>
        <pos>
        <subnode>
    </item>
    MAP TO:
    <pos>
    <subnode>
    <pos>
    <subnode>
    <pos>
    <subnode>
    I can't create a data type like this...
    EDIT:
    Remember, there can be documents with 1 or many positions... and the fieldname always is the same.... the datatype definition doesn't acceppt duplicate fieldnames and fields that are not in a defined sequence.
    Edited by: David Claes on Jul 10, 2008 2:09 PM
    Edited by: David Claes on Jul 10, 2008 2:11 PM

  • Fonts change size and content when edited in photoshop cs6

    When I try editing the type in the document created in Photoshop CS6, some of the fonts I click on change their size, formatting as well as content of what it says.
    It also started happening when I try changing canvas size. All of the fonts that got corrupted somehow, changing their formatting and content as I'm changing the canvas size.
    The document has been created from scratch..
    thanks for your help ahead of time!
    Lana

    I've reset my brush, so "replace current brushes with the default brushes" was taken.

  • Document stores in both SAP database and Content Server

    Hi,
    We don't want to store doc. in SAP database and chose to use content server. We have KPro checked in configuration also.
    Our basis team has created a content repository ZP that points to the content server, in the document area.. they enter "ARCHLINK" instead of DMS. So they told me to create doc. and pick this new ZP to store the doc. But we I created a doc. in CV01N, went to check in the original, the new repository ZP is not on the list of choice to pick from. So I cannot store the doc. in that new content repository.
    Our basis team told me that if we use DMS in the document area, the doc. stores in both SAP database and Content Server. We don't want to have doc. stores in SAP database that's why we have content server.
    How can I create DMS and store in content server only (not SAP database) ?
    Thank you,
    Sam Schwartzberg

    Hi Samantha,
    While check-in activity are you able to choose the new content repository i.e. ZP?
    If not then use t-code OAC0 and while creating the repository check whether the certificate is activated by basis or not .
    If not then you need to activate the certificate for the new repositoty in CSADMIN then only it will appear in the list while "check-in" the dcouments.
    Please check for the same. Also check the t-code OACT , this new repository is shown or not.
    I hope this will resolve the query.
    Regards,
    Ravindra

  • Using ADL when Application.xml and Content.swf are not in the BIN directory

    Hello, I am trying to use the air debug launcher (ADL) to
    launch a simple air app. My issue is I am trying to have ADL launch
    this app from outside of the bin directory of the SDK. Whenever I
    try to pass adl the full path to the Applicaiton.xml file it says
    "application descriptor not found" Does anyone know how to get
    around this? How can I run an AIR app that is outside of the bin?
    My situation C:\AIR has the Applicaiton.xml and Content.swf
    files, then a directory way below C:\Program Files\....\..... has
    the bin directory. I can run adl using its full path C:\Program
    Files\....\bin\adl, but when I pass it the full path for
    Application.xml it fails.
    By the way when I put everything in the bin, or below the bin
    it works just fine.

    If you're receiving this error message then the full path
    you're specifying for application.xml must be incorrect.

  • How can i find the size and contents of playlist created by genius?

    How can i find the size and contents of i-tunes playlist created by genius?

    Have a look at this article written by the CEO of our company (MoviMED):
    http://www.qualitymag.com/articles/91010--d-imaging-enters-the-machine-vision-world?v=preview
    What is the object you are going to be making with the CNC?  Is it a cube? Is it an intricate statue?
    Are you making an object with a CNC, or just mounting a camera to a CNC to image the object?
    www.movimed.com - Custom Imaging Solutions

Maybe you are looking for